MediaWiki:Common.js/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for MediaWiki:Common.js. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

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 site. See mw:ResourceLoader/Developing with ResourceLoader for details.

See also: Special:Gadgets.