Page MenuHomePhabricator

Create a way to toggle mw.config LEGACY_GLOBALS from LocalSettings
Closed, ResolvedPublic

Description

Right now it can only be changed from within the module, in a private variable.

This should probably be configurable. That way wikis can choose to disable them earlier, or perhaps keep them longer.

Although I believe this was requested before, I came accross this when working on the QUnit test suite. It has a mode in which it will error if a global is implied or introduced. It goes haywire currently, I'd like a way to turn it off when using that mode (wether or not we should do that should be discussed under bug 28915).


Version: 1.20.x
Severity: normal

Details

Reference
bz28916

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 21 2014, 11:27 PM
bzimport set Reference to bz28916.
Krinkle created this task.May 10 2011, 7:33 PM

Fixed in r87856.

Restricted Application added a project: Performance-Team. · View Herald TranscriptMar 7 2018, 8:32 PM