I did some improvements to the JS2 documentation based on some initial
feedback of early adopters ;) The documentation has been on the
mediaWiki.org site here:
http://www.mediawiki.org/wiki/JS2_Overview
== Who is this documentation for? ==
* This documentation is for any extension developer that uses javascript
and gadget developers.
* With some minor changes to how your extension includes javascript; it
can greatly improve initial page load time (by minifying, gzips, and
grouping javascript requests)
* With more effort you can build javascript interfaces that are loaded
on-demand and package all localized msgs into the JS. This can really
improve perceived performance even on 'cached scripts' pages by keeping
initial page js parsing and loading to a minimum.
* If these interfaces are reusable and generally applicable to more than
a single extension, we can ideally package them in a central location
making it easier to build off of each-others js components. (similar to
the jquery.ui, jquery plugins and the development path for the new
usability tool-bar and media components).
* I would not recommend switching over your js calls until an official
release contains the new code ;)
** (Once you do update your js include calls, you can still disable the
script-loader to get what you had before)
* Now would be a good time to start testing and give feedback.
peace,
--michael