MediaWiki talk:Common.js/Archive 8: Difference between revisions

Content deleted Content added
Shadowbot3 (talk | contribs)
m Automated archival of 1 sections from MediaWiki talk:Common.js
Shadowbot3 (talk | contribs)
m Automated archival of 1 sections from MediaWiki talk:Common.js
Line 198:
::{{tick}} '''Done''' (after testing the relevant expressions). (There are certainly a lot of ways to express the intended concept; I went for / /g in the actual change, but when writing my own code I often use /\ /g (which is correct in both JavaScript and Perl, even when using Perl's /x modifier) or even split(" ").join("_") (which has the advantages of accepting non-literal strings). --[[User:ais523|ais523]] 17:22, 6 July 2007 ([[User:ais523|U]][[User talk:ais523|T]][[Special:Contributions/Ais523|C]])
:: Right, my copy&paste mistake. --[[User:Piet Delport|Piet Delport]] 10:14, 11 July 2007 (UTC)
<span id="63309567253" />
== JavaScript framework ==
 
Has anyone ever thought about using a JavaScript framework (ex. [http://jquery.com jQuery]) to make it easer for people to create plugins for MediaWiki? It would also make this page allot nicer and easer to read. — [[User:12.65.6.217|12.65.6.217]] 22:19, 7 July 2007 (UTC)
 
:While that may be true, it would also add another 20k of overhead to the site JavaScript. I'm not sure if the readability benefit is enough, since 99.9% of the people for whom this code executes will never even know about it, let alone read it. [[User talk:Mike Dillon|Mike Dillon]] 14:54, 14 July 2007 (UTC)