Index: trunk/extensions/UploadWizard/resources/mw.UploadWizard.js |
— | — | @@ -51,7 +51,7 @@ |
52 | 52 | |
53 | 53 | // load list of languages so we'll have it ready when description interfaces are created |
54 | 54 | // XXX replace this code once any of the following bugs are fixed: 25845, 27535, 27561 |
55 | | - var languageHandlerUrl = mw.util.wikiScript() + '?' + $.param( { 'title': 'MediaWiki:LanguageHandler.js', 'action': 'raw', 'ctype': 'text/javascript' } ); |
| 55 | + var languageHandlerUrl = mw.config.get( 'wgServer' ) + mw.util.wikiScript() + '?' + $.param( { 'title': 'MediaWiki:LanguageHandler.js', 'action': 'raw', 'ctype': 'text/javascript' } ); |
56 | 56 | mw.loader.load( languageHandlerUrl ); |
57 | 57 | |
58 | 58 | // remove first spinner |