Last modified: 2012-04-16 09:15:52 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 T28801, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26801 - mediawiki modules should not reference legacy globals
mediawiki modules should not reference legacy globals
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-19 03:25 UTC by Michael Dale
Modified: 2012-04-16 09:15 UTC (History)
2 users (show)

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


Attachments

Description Michael Dale 2011-01-19 03:25:38 UTC
There seems to be some references to legacy globals in mediawiki.* code, for example mediawiki.util.js use of wgServer + wgArticlePath, They should instead use the mw.config.get option.
Comment 1 Krinkle 2011-01-19 16:37:00 UTC
Fixed in r80572. According to grep in /resources the only occurrences of "wg" are either in mw.config.* calls or wgAjaxWatch (which needs to be rewritten).

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


Navigation
Links