Index: trunk/extensions/UploadWizard/.project |
— | — | @@ -0,0 +1,11 @@ |
| 2 | +<?xml version="1.0" encoding="UTF-8"?> |
| 3 | +<projectDescription> |
| 4 | + <name>UploadWizard</name> |
| 5 | + <comment></comment> |
| 6 | + <projects> |
| 7 | + </projects> |
| 8 | + <buildSpec> |
| 9 | + </buildSpec> |
| 10 | + <natures> |
| 11 | + </natures> |
| 12 | +</projectDescription> |
Index: trunk/extensions/UploadWizard/UploadWizard.php |
— | — | @@ -48,6 +48,6 @@ |
49 | 49 | |
50 | 50 | $wgScriptLoaderNamedPaths[ 'UploadWizardPage' ] = 'extensions/UploadWizard/UploadWizardPage.js'; |
51 | 51 | |
52 | | -// Set up the javascript loader for the jsModule |
53 | | -$wgExtensionJavascriptLoader[] = 'extensions/UploadWizard/loader.js'; |
| 52 | +// Set up the javascript path for the loader and localization file. |
| 53 | +$wgExtensionJavascriptModules[ 'UploadWizard' ] = 'extensions/UploadWizard'; |
54 | 54 | |
Index: trunk/extensions/UploadWizard/README |
— | — | @@ -7,4 +7,3 @@ |
8 | 8 | |
9 | 9 | # Upload Wizard |
10 | 10 | require_once( "$IP/extensions/UploadWizard/UploadWizard.php" ); |
11 | | - |
Index: trunk/extensions/UploadWizard/UploadWizardPage.js |
— | — | @@ -4,8 +4,7 @@ |
5 | 5 | */ |
6 | 6 | |
7 | 7 | mw.ready( function() { |
8 | | - mw.load( 'UploadWizard.UploadWizard', function () { |
9 | | - |
| 8 | + mw.load( 'UploadWizard.UploadWizard', function () { |
10 | 9 | mw.setConfig( 'debug', true ); |
11 | 10 | |
12 | 11 | mw.setDefaultConfig( 'uploadHandlerClass', null ); |