r68647 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68646‎ | r68647 | r68648 >
Date:03:53, 28 June 2010
Author:aaron
Status:deferred
Tags:
Comment:
Made watchlist notice query use 'watchlist' query group (bug 24145)
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -2011,7 +2011,7 @@
20122012 $watchlist = SpecialPage::getTitleFor( 'Watchlist' );
20132013 $recentchanges = SpecialPage::getTitleFor( 'Recentchanges' );
20142014 if ( $wgTitle->equals( $watchlist ) || $wgTitle->equals( $recentchanges ) ) {
2015 - $dbr = wfGetDB( DB_SLAVE );
 2015+ $dbr = wfGetDB( DB_SLAVE, 'watchlist' );
20162016 $watchedOutdated = $dbr->selectField(
20172017 array( 'watchlist', 'page', 'flaggedpages' ),
20182018 '1', // existence

Status & tagging log