Index: trunk/extensions/UploadWizard/UploadWizardPage.js |
— | — | @@ -21,13 +21,8 @@ |
22 | 22 | |
23 | 23 | jQuery( document ).ready( function() { |
24 | 24 | // add "magic" to Language template parser for keywords |
| 25 | + var options = { magic: { 'SITENAME' : wgSiteName } }; |
25 | 26 | |
26 | | - var options = { |
27 | | - magic: { |
28 | | - 'SITENAME' : mw.config.get('wgSitename') |
29 | | - } |
30 | | - }; |
31 | | - |
32 | 27 | window.gM = mediaWiki.language.getMessageFunction( options ); |
33 | 28 | $j.fn.msg = mediaWiki.language.getJqueryMessagePlugin( options ); |
34 | 29 | |