Convert onTransactionIdle() callers to DeferredUpdate subclasses
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 21 Jul 2016 19:43:26 +0000 (12:43 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 25 Jul 2016 23:49:15 +0000 (16:49 -0700)
commit3a922d36d8741e34d9ce46cb601e1f356dcf844d
treeaaace4f16c0cd60f9b43bd2ed17810ffae363719
parent1b8fed43c748904ffafd818433c3fd5e424bd351
Convert onTransactionIdle() callers to DeferredUpdate subclasses

* This puts the complex logic here after the commit step for
  all DBs, making the main multi-DB transaction more likely
  to be atomic. Previously, the idle callbacks could be hit
  bewteen DB commits.
* Enforce transactionality via AtomicSectionUpdate.
* Use $this instead of $that hacks for old PHP versions.

Change-Id: Idf7d54fdac6487f86907099680f5c1c4f5530b4e
includes/MovePage.php
includes/filerepo/file/LocalFile.php
includes/page/WikiPage.php
includes/revisiondelete/RevDelList.php