https://bugzilla.wikimedia.org/show_bug.cgi?id=56550
Web browser: ---
Bug ID: 56550
Summary: Show deprecation notices when accessing wg* JavaScript
globals in debug mode
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: JavaScript
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
As the preferred way to access the wg* variables in JavaScript is to use
mw.config.get()/.set(), accessing them as globals (i.e. as members of window)
should show deprecation notices in debug mode, just like it is done for the
functions from wikibits.js.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l