On Mon, Sep 28, 2009 at 1:21 AM, Tim Starling <tstarling(a)wikimedia.org> wrote:
* Platonides mentions the case of power-users with
tens of scripts loaded via
gadgets or user JS with importScript().
Also remember the possibility that sysops will want to include these
scripts (conditionally or unconditionally) from MediaWiki:Common.js or
such. Look at the top of
<http://en.wikipedia.org/wiki/MediaWiki:Common.js>, which imports
specific scripts only on edit/preview/upload; only on watchlist view;
only for sysops; only for IE6; and possibly others. It also imports
Wikiminiatlas unconditionally, it seems. I don't see offhand how
sysop-created server-side conditional includes could be handled, but
it's worth considering at least unconditional includes, since sysops
might want to split code across multiple pages for ease of editing.