Call loadPageData() with 'fromdbmaster' in doEdit() to avoid old slave data
authorAaron Schulz <aaron@users.mediawiki.org>
Tue, 4 Oct 2011 18:40:13 +0000 (18:40 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Tue, 4 Oct 2011 18:40:13 +0000 (18:40 +0000)
includes/WikiPage.php

index db724bc..69f01b4 100644 (file)
@@ -1061,7 +1061,7 @@ class WikiPage extends Page {
                $status = Status::newGood( array() );
 
                # Load $this->mTitle->getArticleID() and $this->mLatest if it's not already
-               $this->loadPageData();
+               $this->loadPageData( 'fromdbmaster' );
 
                $flags = $this->checkFlags( $flags );