@@ -27,6 +27,6 @@ |
||
| 27 | 27 | /** English |
| 28 | 28 | * @author <your username> |
| 29 | 29 | */ |
| 30 | -$specialPageAliases['en'] = array( |
|
| 30 | +$specialPageAliases[ 'en' ] = array( |
|
| 31 | 31 | 'BatchUpload' => array( 'BatchUpload' ), |
| 32 | 32 | ); |
@@ -56,10 +56,10 @@ |
||
| 56 | 56 | $longHtml ); |
| 57 | 57 | } |
| 58 | 58 | // HACK! |
| 59 | - $mod = $wgResourceModules['ext.SimpleBatchUpload.jquery-file-upload']; |
|
| 60 | - $mod['localBasePath'] = $IP; |
|
| 61 | - $mod['remoteBasePath'] = $wgScriptPath; |
|
| 62 | - $wgResourceModules['ext.SimpleBatchUpload.jquery-file-upload'] = $mod; |
|
| 59 | + $mod = $wgResourceModules[ 'ext.SimpleBatchUpload.jquery-file-upload' ]; |
|
| 60 | + $mod[ 'localBasePath' ] = $IP; |
|
| 61 | + $mod[ 'remoteBasePath' ] = $wgScriptPath; |
|
| 62 | + $wgResourceModules[ 'ext.SimpleBatchUpload.jquery-file-upload' ] = $mod; |
|
| 63 | 63 | } |
| 64 | 64 | } |
| 65 | 65 | |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | $longHtml = <<<HTML |
| 51 | 51 | MediaWiki now also has some external dependencies that need to be installed via |
| 52 | 52 | composer. |
| 53 | -HTML; |
|
| 53 | +html; |
|
| 54 | 54 | |
| 55 | 55 | $this->triggerError( 'External dependencies', $shortText, $longText, |
| 56 | 56 | $longHtml ); |