On Thu, Jan 19, 2006 at 11:43:45PM +1100, Stephen Bain wrote:
Question 1: Is
there some alternative to modifying this file that I've
missed? I know that there's the option for user-specific javascript, but
I'm looking for something similar, where I can edit a page to change the
JavaScript used by everyone.
There's global css and js files for several of
the skins, in the
Mediawiki namespace. For example, on enwiki:
http://en.wikipedia.org/wiki/MediaWiki:Monobook.js
http://en.wikipedia.org/wiki/MediaWiki:Monobook.css
So everyone using the Monobook skin gets those files. You don't need
to modify any code, it's all stored in the database.
AIUI though, there's no way from within a Javascript file like this to
load another remote Javascript file (i.e. the one from Google's
servers).
Tony