Index: trunk/phase3/maintenance/updateSpecialPages.php |
— | — | @@ -28,11 +28,11 @@ |
29 | 29 | continue; |
30 | 30 | } |
31 | 31 | |
32 | | - if ( in_array( $special, $wgDisableQueryPageUpdate ) ) { |
| 32 | + if ( $wgDisableQueryPageUpdate && in_array( $special, $wgDisableQueryPageUpdate ) ) { |
33 | 33 | printf("%-30s disabled\n", $special); |
34 | 34 | continue; |
35 | 35 | } |
36 | | - |
| 36 | + |
37 | 37 | $specialObj = SpecialPage::getPage( $special ); |
38 | 38 | if ( !$specialObj ) { |
39 | 39 | print "No such special page: $special\n"; |