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

Some scripts for those pages

 * Importing from mediawiki.org - There are some few scripts such as edit-top-section & live-clock.
 * Extension:Gadgets/Scripts - if installed it permits users to easily pick-up into submitted scripts through users' preferences.