Last modified: 2014-01-31 14:00:39 UTC
mediawiki.action.edit.js is always polluting the global scope by window.addButton = toolbar.addButton; window.insertTags = toolbar.insertTags; What about respecting $wgIncludeLegacyJavaScript (or $wgLegacyJavaScriptGlobals)? Thanks.
This is kind of fixed since window.addButton and window.insertTags were deprecated on Gerrit change #95764. https://git.wikimedia.org/blob/mediawiki%2Fcore.git/a6f0a996ebe55496dda685da750f08f0b02bca14/resources%2Fmediawiki.action%2Fmediawiki.action.edit.js#L132
Yeah, that's probably as 'fixed' as this is going to get. Thoughts?
Should we wait until the deprecated code is actually removed to consider this as fixed?
A deprecated function is no longer legacy, so this bug is fixed ;-) No tracking bug for this is needed, because deprecated function will be removed anytime by a volunteer, so all okay here.