MediaWiki:Common.js/documentation

This script executes for every user, anonymous or logged-in, using any skin. Additions to this script should be kept to a minimum, as it is a major single point of failure, and for the sake of allowing per-user customisations. Preferably write a gadget instead.

To make sure your script executes after this one, make it depend on the ResourceLoader module. See ResourceLoader/Developing with ResourceLoader for details.

See also: Special:Gadgets.