Hi! I was wondering whether it would be good to move the JavaScript wg* variables to the mw object (more exactly: to mw.page). That means wgCanonicalNamspace to mw.page.canonicalNamespace etc. I thought of this because I read that new functionality should only be added to this object and not to wg* variables [1].
So, what do you think? Would it be a good idea to move these variables? (Of course, the old variables had to remain, too, as we cannot expect to change all the scripts depending on this for one update.) If you’d agree, I’d like to try this and write the necessary code, ok? Regards, Robin [1] https://bugzilla.wikimedia.org/show_bug.cgi?id=23104 -- Wikipedia-Benutzer Ireas / Robin Krahl <[email protected]> http://de.wikipedia.org/wiki/Benutzer:Ireas http://rkrahl.de plain text & open source ftw!
signature.asc
Description: OpenPGP digital signature
_______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
