Last modified: 2011-05-10 23:18:23 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 T30916, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28916 - Create a way to toggle mw.config LEGACY_GLOBALS from LocalSettings
Create a way to toggle mw.config LEGACY_GLOBALS from LocalSettings
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
1.20.x
All All
: Normal normal (vote)
: ---
Assigned To: Krinkle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-10 19:33 UTC by Krinkle
Modified: 2011-05-10 23:18 UTC (History)
3 users (show)

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


Attachments

Description Krinkle 2011-05-10 19:33:01 UTC
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).
Comment 1 Krinkle 2011-05-10 23:18:23 UTC
Fixed in r87856.

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


Navigation
Links