Call loadPageData() as needed in Title::moveToInternal.
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 21 Mar 2013 07:03:59 +0000 (00:03 -0700)
committerRobLa <robla@wikimedia.org>
Thu, 21 Mar 2013 14:18:58 +0000 (14:18 +0000)
commit61c0064de538c3b1ea61470eadd88fab87d3513e
treed92c3e604a5091b09ca344dea729c91a11e95d33
parent27a0f89f6cd86e19123c8bdeeaf4d565f64e4cf0
Call loadPageData() as needed in Title::moveToInternal.

* This avoids use of a slave for loading the page ID to do
  the updates using $newpage. That bug prevented page moves
  by using the old 0 ID and throwing an exception.

Bug: 46397
Change-Id: Iea3259dce6840e3f2959d98a20177acd60433b64
includes/Title.php