r108499 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108498‎ | r108499 | r108500 >
Date:08:53, 10 January 2012
Author:nikerabbit
Status:ok
Tags:
Comment:
Use master to not get stale data on Special:PageTranslation
Should be fine since the groups are cached
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/MessageGroups.php
@@ -1122,7 +1122,7 @@
11231123 }
11241124
11251125 if ( $wgEnablePageTranslation ) {
1126 - $dbr = wfGetDB( DB_SLAVE );
 1126+ $dbr = wfGetDB( DB_MASTER );
11271127
11281128 $tables = array( 'page', 'revtag' );
11291129 $vars = array( 'page_id', 'page_namespace', 'page_title', );

Follow-up revisions

RevisionCommit summaryAuthorDate
r108500MFT r108499nikerabbit11:37, 10 January 2012

Status & tagging log