Template:Dialog/js prefix

Common.js/

[edit] Template documentation

Usage

edit

Documents the prefix for page-specific javascript.

The interactive dialog tools expect a customization in MediaWiki:Common.js that, when loading PAGENAME, looks for a page MediaWiki:<prefix>PAGENAME and, if found, loads and executes it as javascript. <prefix> is hard-coded into Common.js, and may vary between projects due to possible naming conflicts; this template tells documentation pages what <prefix> is.