Manual:Interface/JavaScript

MediaWiki:Common.js contains JavaScript that will be loaded for all users. This file is loaded for all users, but there are similar files affecting only users of specific skins (see below); although only Monobook.js is listed on Special:Allmessages, the other skin-specific stylesheets will work nonetheless.

if $wgAllowUserJs is set to true, users can customize the interface for themselves only by creating user subpages with lowercase titles (see below).

List of JavaScript pages

 * Global stylesheets
 * MediaWiki:Common.js (all skins - introduced in MW v1.9)
 * MediaWiki:Cologneblue.js (Cologne Blue)
 * MediaWiki:Monobook.js (MonoBook, default skin)
 * MediaWiki:Myskin.js (MySkin)
 * MediaWiki:Nostalgia.js (Nostalgia)
 * MediaWiki:Standard.js (Classic)
 * Special:Gadgets
 * Personal stylesheets
 * User:Example user/cologneblue.js
 * User:Example user/monobook.js
 * User:Example user/myskin.js
 * User:Example user/nostalgia.js
 * User:Example user/standard.js

List of useful javaScript scripts for your MediaWiki interface
Manuals:
 * HotCat.js (to be adapted to your wiki)
 * Sidebar
 * Importing gadgets from mediawiki.org

Stable scripts ready-for-production and further for optional use are listed on Extension:Gadgets/Scripts.