Last modified: 2012-10-17 21:15:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43129, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41129 - Collection: Remove usage of legacy javascript globals
Collection: Remove usage of legacy javascript globals
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: javascript
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-17 19:54 UTC by Sam Reed (reedy)
Modified: 2012-10-17 21:15 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2012-10-17 19:54:04 UTC
<Krinkle> siebrand: probably because you have legacy globals disabled and the code is using the global instead of mw.config


A quick search suggests 24 or so usages

IIRC, it's a case of swapping them for:

mw.config.get('wgFoobar')
Comment 1 Sam Reed (reedy) 2012-10-17 21:15:15 UTC
https://gerrit.wikimedia.org/r/#/c/28446/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links