Index: trunk/extensions/DeleteBatch/DeleteBatch.body.php |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -class DeleteBatch extends SpecialPage { |
| 4 | +class SpecialDeleteBatch extends SpecialPage { |
5 | 5 | /** |
6 | 6 | * Constructor |
7 | 7 | */ |
Index: trunk/extensions/DeleteBatch/DeleteBatch.php |
— | — | @@ -30,8 +30,8 @@ |
31 | 31 | $dir = dirname( __FILE__ ) . '/'; |
32 | 32 | $wgExtensionMessagesFiles['DeleteBatch'] = $dir . 'DeleteBatch.i18n.php'; |
33 | 33 | $wgExtensionAliasesFiles['DeleteBatch'] = $dir . 'DeleteBatch.alias.php'; |
34 | | -$wgAutoloadClasses['DeleteBatch'] = $dir . 'DeleteBatch.body.php'; |
35 | | -$wgSpecialPages['DeleteBatch'] = 'DeleteBatch'; |
| 34 | +$wgAutoloadClasses['SpecialDeleteBatch'] = $dir . 'DeleteBatch.body.php'; |
| 35 | +$wgSpecialPages['SpecialDeleteBatch'] = 'DeleteBatch'; |
36 | 36 | // Special page group for MW 1.13+ |
37 | 37 | $wgSpecialPageGroups['DeleteBatch'] = 'pagetools'; |
38 | 38 | |
Index: trunk/extensions/WikiSync/WikiSyncApi.php |
— | — | @@ -666,7 +666,7 @@ |
667 | 667 | if ( !$wgUser->matchEditToken( $params['token'] ) ) { |
668 | 668 | $this->dieUsageMsg( array('sessionfailure') ); |
669 | 669 | } |
670 | | - $source = null; |
| 670 | + |
671 | 671 | if ( !$wgUser->isAllowed( 'importupload' ) ) { |
672 | 672 | $this->dieUsageMsg( array('cantimport-upload') ); |
673 | 673 | } |
Index: trunk/extensions/SiteMatrix/SiteMatrixApi.php |
— | — | @@ -89,11 +89,11 @@ |
90 | 90 | } |
91 | 91 | |
92 | 92 | protected function getAllowedParams() { |
93 | | - return array (); |
| 93 | + return array(); |
94 | 94 | } |
95 | 95 | |
96 | 96 | protected function getParamDescription() { |
97 | | - return array (); |
| 97 | + return array(); |
98 | 98 | } |
99 | 99 | |
100 | 100 | protected function getDescription() { |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | } |
114 | 114 | |
115 | 115 | protected function getExamples() { |
116 | | - return array ( |
| 116 | + return array( |
117 | 117 | 'api.php?action=sitematrix', |
118 | 118 | ); |
119 | 119 | } |