Jump to content

Template:Dialog/js prefix/doc

From Wikibooks, open books for an open world

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.