Index: trunk/phase3/maintenance/updateSpecialPages.php |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | } |
34 | 34 | |
35 | 35 | public function execute() { |
36 | | - global $IP, $wgOut, $wgSpecialPageCacheUpdates, $wgQueryPages, $wgQueryCacheLimit; |
| 36 | + global $IP, $wgOut, $wgSpecialPageCacheUpdates, $wgQueryPages, $wgQueryCacheLimit, $wgDisableQueryPageUpdate; |
37 | 37 | $wgOut->disable(); |
38 | 38 | $dbw = wfGetDB( DB_MASTER ); |
39 | 39 | |
— | — | @@ -72,7 +72,7 @@ |
73 | 73 | continue; |
74 | 74 | } |
75 | 75 | |
76 | | - if ( $this->hasOption('override') && $wgDisableQueryPageUpdate && in_array( $special, $wgDisableQueryPageUpdate ) ) { |
| 76 | + if ( !$this->hasOption('override') && $wgDisableQueryPageUpdate && in_array( $special, $wgDisableQueryPageUpdate ) ) { |
77 | 77 | $this->output( sprintf( "%-30s disabled\n", $special ) ); |
78 | 78 | continue; |
79 | 79 | } |