Convert MovePage to startAtomic()/endAtomic()
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 6 Oct 2015 20:24:22 +0000 (13:24 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 21 Oct 2015 18:34:26 +0000 (18:34 +0000)
commit9e51328790c0a2273bee539ba147b85d5cc4a0bb
treef1c41e4c2b904326d598e0918dd968e13ed2c71f
parentc3698b050ef5908666febe98f34aca75d2df3d93
Convert MovePage to startAtomic()/endAtomic()

* This makes moves of a page and its subpages atomic
  as one operation. Note that $wgMaximumMovedPages
  already bounds the number of page rows changed.
* The TitleMoveComplete hook will fire for all
  titles after the operation rather than after
  each title move.
* Remove LocalFile comment about it commiting the
  transaction because LocalFile::lock()/unlock()
  check trxLevel() and reference count.

Change-Id: Ic7f6964f94f0b0f0bedc27012e5b5b012a4afdb2
includes/MovePage.php