@@ -22,10 +22,10 @@ |
||
| 22 | 22 | * @ingroup ExtensionManager |
| 23 | 23 | */ |
| 24 | 24 | |
| 25 | -$specialPageAliases = []; |
|
| 25 | +$specialPageAliases = [ ]; |
|
| 26 | 26 | |
| 27 | 27 | /** English |
| 28 | 28 | */ |
| 29 | -$specialPageAliases['en'] = [ |
|
| 29 | +$specialPageAliases[ 'en' ] = [ |
|
| 30 | 30 | 'BatchUpload' => [ 'BatchUpload' ], |
| 31 | 31 | ]; |
@@ -22,10 +22,10 @@ |
||
| 22 | 22 | * @ingroup ExtensionManager |
| 23 | 23 | */ |
| 24 | 24 | |
| 25 | -$magicWords = []; |
|
| 25 | +$magicWords = [ ]; |
|
| 26 | 26 | |
| 27 | 27 | /** English |
| 28 | 28 | */ |
| 29 | -$magicWords['en'] = [ |
|
| 29 | +$magicWords[ 'en' ] = [ |
|
| 30 | 30 | 'batchupload' => [ 0, 'batchupload' ], |
| 31 | 31 | ]; |
| 32 | 32 | \ No newline at end of file |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | public function getConfiguration() { |
| 51 | 51 | |
| 52 | - $configuration = []; |
|
| 52 | + $configuration = [ ]; |
|
| 53 | 53 | |
| 54 | 54 | $configuration[ 'wgExtensionMessagesFiles' ][ 'SimpleBatchUploadAlias' ] = __DIR__ . '/SimpleBatchUpload.alias.php'; |
| 55 | 55 | $configuration[ 'wgExtensionMessagesFiles' ][ 'SimpleBatchUploadMagic' ] = __DIR__ . '/SimpleBatchUpload.magic.php'; |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | * @param \OutputPage $out |
| 146 | 146 | */ |
| 147 | 147 | public function onMakeGlobalVariablesScript( &$vars, $out ) { |
| 148 | - $vars['simpleBatchUploadMaxFilesPerBatch'] = $this->getMaxFilesPerBatch(); |
|
| 148 | + $vars[ 'simpleBatchUploadMaxFilesPerBatch' ] = $this->getMaxFilesPerBatch(); |
|
| 149 | 149 | } |
| 150 | 150 | |
| 151 | 151 | /** |