r84205 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84204‎ | r84205 | r84206 >
Date:22:13, 17 March 2011
Author:neilk
Status:deferred
Tags:
Comment:
config doesn't seem to have wgSitename
Modified paths:
  • /trunk/extensions/UploadWizard/UploadWizardPage.js (modified) (history)

Diff [purge]

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

Status & tagging log