r98880 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98879‎ | r98880 | r98881 >
Date:18:40, 4 October 2011
Author:aaron
Status:ok
Tags:
Comment:
Call loadPageData() with 'fromdbmaster' in doEdit() to avoid old slave data
Modified paths:
  • /trunk/phase3/includes/WikiPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/WikiPage.php
@@ -1061,7 +1061,7 @@
10621062 $status = Status::newGood( array() );
10631063
10641064 # Load $this->mTitle->getArticleID() and $this->mLatest if it's not already
1065 - $this->loadPageData();
 1065+ $this->loadPageData( 'fromdbmaster' );
10661066
10671067 $flags = $this->checkFlags( $flags );
10681068

Follow-up revisions

RevisionCommit summaryAuthorDate
r98927(bug 31179) Fixed problems with undeletion making bad page rows:...aaron21:31, 4 October 2011
r98979MFT r98880aaron03:15, 5 October 2011
r100841REL1_18 MFT r98703, r98755, r98880reedy18:52, 26 October 2011

Status & tagging log