r56484 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56483‎ | r56484 | r56485 >
Date:01:46, 17 September 2009
Author:aaron
Status:ok
Tags:
Comment:
merged r56483
Modified paths:
  • /branches/wmf-deployment/extensions/FlaggedRevs/specialpages/ProblemChanges_body.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/extensions/FlaggedRevs/specialpages/ProblemChanges_body.php
@@ -291,7 +291,7 @@
292292 global $wgUser, $wgOldChangeTagsIndex;
293293 $ctIndex = $wgOldChangeTagsIndex ? 'ct_rev_id' : 'change_tag_rev_tag';
294294 $conds = $this->mConds;
295 - $tables = array( 'page', 'revision', 'change_tag' );
 295+ $tables = array( 'revision', 'change_tag', 'page' );
296296 $fields = array('page_namespace','page_title','page_latest');
297297 # Show outdated "stable" versions
298298 if( $this->level < 0 ) {
@@ -301,7 +301,7 @@
302302 $conds[] = 'fp_pending_since IS NOT NULL';
303303 $conds[] = 'page_id = fp_page_id';
304304 # Find revisions that are tagged as such
305 - $conds[] = 'rev_page = page_id';
 305+ $conds[] = 'rev_page = fp_page_id';
306306 $conds[] = 'rev_id > fp_stable';
307307 $conds[] = 'ct_rev_id = rev_id';
308308 $conds['ct_tag'] = $this->tag;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r56483query optimizationaaron01:45, 17 September 2009

Status & tagging log