From: Domas Mituzas Date: Fri, 23 Oct 2009 09:40:34 +0000 (+0000) Subject: upwards merge from deployment-58049, fix regression introduced by r54225 - special... X-Git-Tag: 1.31.0-rc.0~39156 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=4c01e05879e2252427beb739d28e987eb7766aee;p=lhc%2Fweb%2Fwiklou.git upwards merge from deployment-58049, fix regression introduced by r54225 - special page skipping ignored by maintenance scripts --- diff --git a/maintenance/updateSpecialPages.php b/maintenance/updateSpecialPages.php index d66396711e..fd1b2cac61 100644 --- a/maintenance/updateSpecialPages.php +++ b/maintenance/updateSpecialPages.php @@ -32,7 +32,7 @@ class UpdateSpecialPages extends Maintenance { } public function execute() { - global $IP, $wgOut, $wgSpecialPageCacheUpdates, $wgQueryPages, $wgQueryCacheLimit; + global $IP, $wgOut, $wgSpecialPageCacheUpdates, $wgQueryPages, $wgQueryCacheLimit, $wgDisableQueryPageUpdate; $wgOut->disable(); $dbw = wfGetDB( DB_MASTER ); @@ -72,7 +72,7 @@ class UpdateSpecialPages extends Maintenance { continue; } - if ( $this->hasOption('override') && $wgDisableQueryPageUpdate && in_array( $special, $wgDisableQueryPageUpdate ) ) { + if ( !$this->hasOption('override') && $wgDisableQueryPageUpdate && in_array( $special, $wgDisableQueryPageUpdate ) ) { $this->output( sprintf( "%-30s disabled\n", $special ) ); continue; }