From: Jeroen De D. <jer...@gm...> - 2010-05-26 15:57:18
|
MediaWiki 1.16 already includes jQuery 1.3.2. No jQuery UI so far though. Should be careful not to include the 1.4.2 library when 1.3.2 has been included by some other extension. -- Jeroen De Dauw * http://blog.bn2vs.com * http://wiki.bn2vs.com Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- On 26 May 2010 17:47, Yaron Koren <ya...@gm...> wrote: > Hi, > > As some of you know, I'm mentoring a project, with Sanyam Goyal doing the > main work, of transitioning Semantic MediaWiki and some of its spinoff > extensions to use jQuery, the Javascript library that is set to become the > standard for MediaWiki. To that end, we want to add jQuery into SMW itself, > so that there's a standard version and set of files that all the extensions > use, and so that wikis don't have to go out to the internet to get the code > (like they usually do with YUI at this point, for some extensions). This > would involve adding just two files to SMW's /libs directory: one for jQuery > and one for jQuery UI, a very standard sister library for jQuery that > provides a set of helpful effects and widgets, like autocompletion: > > http://jqueryui.com/ > > Here are the two files that would need to be added (presumably the > minimized form is better): > > http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js > http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js > > ...and here are the two non-minimized files, if you're curious: > > http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js > http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.js > > I thought this would be a good time to add it, since SMW 1.5.1 is set to be > released fairly soon. > > At some point, MediaWiki itself will include jQuery, so these files will > become increasingly unnecessary; but such a version hasn't been released > yet, and it'll be a long time before most people are using it. > > Any thoughts/objections? > > -Yaron > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Semediawiki-devel mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel > > |