r58050 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58049‎ | r58050 | r58051 >
Date:09:40, 23 October 2009
Author:midom
Status:ok
Tags:
Comment:
upwards merge from deployment-58049, fix regression introduced by r54225 - special page skipping ignored by maintenance scripts
Modified paths:
  • /trunk/phase3/maintenance/updateSpecialPages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/updateSpecialPages.php
@@ -32,7 +32,7 @@
3333 }
3434
3535 public function execute() {
36 - global $IP, $wgOut, $wgSpecialPageCacheUpdates, $wgQueryPages, $wgQueryCacheLimit;
 36+ global $IP, $wgOut, $wgSpecialPageCacheUpdates, $wgQueryPages, $wgQueryCacheLimit, $wgDisableQueryPageUpdate;
3737 $wgOut->disable();
3838 $dbw = wfGetDB( DB_MASTER );
3939
@@ -72,7 +72,7 @@
7373 continue;
7474 }
7575
76 - if ( $this->hasOption('override') && $wgDisableQueryPageUpdate && in_array( $special, $wgDisableQueryPageUpdate ) ) {
 76+ if ( !$this->hasOption('override') && $wgDisableQueryPageUpdate && in_array( $special, $wgDisableQueryPageUpdate ) ) {
7777 $this->output( sprintf( "%-30s disabled\n", $special ) );
7878 continue;
7979 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r54225Merge maintenance-work branch (now with less errors!):...demon19:35, 2 August 2009

Status & tagging log