Template:Script installation text/sandbox
Appearance
Installation
After installing the script, bypass the cache of the page.
- Method 1
- Click here, then click the install link at the top. (This will conflict with Enterprisey's script installer if you have it installed.)
- Method 2
(This can be used on any Wikimedia project.)
- Place
mw.loader.load('{{subst:fullurl:{{subst:FULLPAGENAME}}}}.js'); // Backlink: [[{{subst:FULLPAGENAME}}.js]]
on the bottom of your common.js page or your skin.js page. - Press (ignore any error warnings).
- Method 3
(This can only be used on the English Wikipedia.)
- Place
{{iusc|1={{subst:FULLPAGENAME}}.js}}
on the bottom of your common.js page or your skin.js page. - Press (ignore any error warnings).
![]() | This is the template sandbox page for Template:Script installation text (diff). See also the companion subpage for test cases. |
Usage
This template should simply be placed on a user script documentation page, and it will add instructions on how to install the script. This template will automatically add Category:Wikipedia scripts if not already present on the page (this will still add the category if you add the category when adding this template - it only looks at the previous revision of the page).