Hi Robin,

This might be a topic better suited to wikitech-l mailing list.

-Courtney

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Ireas
Sent: Tuesday, April 13, 2010 4:34 PM
To: [email protected]
Subject: [Mediawiki-l] JavaScript / mw object

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!




_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to