https://bugzilla.wikimedia.org/show_bug.cgi?id=56550
--- Comment #3 from Michael M. <[email protected]> --- (In reply to comment #1) > mw.config.get('wg*') is currently basically a wrapper for window.wg*. To make > such deprecation notices possible we'd have to duplicate the values, which > could cause them to get out-of-sync if something modified them after page > load. Is this an actual issue? Once they are set, they shouldn't be changed anyway. So using a new object for mw.config.values instead of window and copying the variables over when they are set the first time using mw.log.deprecate shouldn't break more than replacing some of the wikibits.js functions with $.noop will break. (In reply to comment #2) > Hm, how would deprecation actually work? Can we add getters on the window > object? Yes, if you don't believe it, have a look at 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
