Page MenuHomePhabricator

ResourceLoader: Prefix global isCompatible() and startUp() functions
Closed, DeclinedPublic

Description

Author: mdale

Description:
For embedding the code in external sites there should be as few globals as possible and the globals should be prefixed ie 'mwStartUp' and 'mwIsCompatible'

Also var LEGACY_GLOBALS = true; is hard coded in mediaWiki.js, would be nice to move that to a configuration option. ( So it could be disabled )


Version: unspecified
Severity: enhancement

Details

Reference
bz26803

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 11:15 PM
bzimport set Reference to bz26803.
bzimport added a subscriber: Unknown Object (MLST).

I didn't know about this bug untill after I filed bug 28916.

As they aren't 1 bug, re-phrazing summary to no longer mention the legacy thing. Putting in a seperate bug (bug 28916).

Krinkle claimed this task.