* (bug 14258, 14368) Fix for subpage renames in replication environments
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 2 Jun 2008 21:48:02 +0000 (21:48 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 2 Jun 2008 21:48:02 +0000 (21:48 +0000)
RELEASE-NOTES
includes/SpecialMovepage.php

index 078c707..a9474a1 100644 (file)
@@ -321,6 +321,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   ListGroupRights special page now links to the project namespace page for it,
   not the main namespace page.
 * (bug 11659) Urldecode image names in galleries
+* (bug 14258, 14368) Fix for subpage renames in replication environments
+
 
 === API changes in 1.13 ===
 
index 5087b12..5a61817 100644 (file)
@@ -309,7 +309,7 @@ class MovePageForm {
                # would mean that you couldn't move them back in one operation, which
                # is bad.  FIXME: A specific error message should be given in this
                # case.
-               $dbr = wfGetDB( DB_SLAVE );
+               $dbr = wfGetDB( DB_MASTER );
                if( $this->moveSubpages && (
                        MWNamespace::hasSubpages( $nt->getNamespace() ) || (
                                $this->moveTalk &&