Page MenuHomePhabricator

mediawiki modules should not reference legacy globals
Closed, ResolvedPublic

Description

Author: mdale

Description:
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.


Version: unspecified
Severity: enhancement

Details

Reference
bz26801

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:15 PM
bzimport set Reference to bz26801.

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).