https://bugzilla.wikimedia.org/show_bug.cgi?id=44133
--- Comment #2 from Juliusz Gonera <[email protected]> --- I'm always worried about modifying the behaviour of the code we don't write ourselves, even if it's a small change. Let's take wgTitle as an example. I can't imagine now any situation where some MediaWiki JavaScript would want the old wgTItle value, but who knows. Or maybe there's some code that keeps updating wgTitle in a weird way and will override what we set there. It just seems bug prone. I've just thought we could have a very thin wrapper (yay, another one) whose get() function would first try to return values from our config, and if they weren't present it would return the value from mw.config. This way we could always just use one method of accessing config, but at the same time we wouldn't depend on mw.config internals and the ways it's populated. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
