On 1/19/06, Tony Bowden <tony-wikitech(a)kasei.com> 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.
There is Mediawiki:Common.css, a css file which is common to all
skins, but I'm not sure whether there is support for a
Mediawiki:Common.js.
--
Stephen Bain
stephen.bain(a)gmail.com