Do deletion updates after commit.
authordaniel <daniel.kinzler@wikimedia.de>
Wed, 10 Sep 2014 17:40:25 +0000 (19:40 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Wed, 10 Sep 2014 17:40:25 +0000 (19:40 +0200)
commit3de5d02d2c725942cea630e141338a5218e0ebe9
tree563528311bb58dbb63439080f342ab1adbd9f099
parent81a84074e48bd34981ffd576bd11fb9aa4d37a53
Do deletion updates after commit.

WikiPage::doDeleteArticleReal now triggers secondary data updates
(link tables, etc) only after the deletion proper is committed.
This is consistent with the way doEditContent applies secondary
data updates, and avoids nested transactions (e.g. by one of the
updates using a retry loop).

Change-Id: Ie4d96f77d210c9953104a0e6fb11ea8ed348c42a
includes/page/WikiPage.php