Template:Script installation text
Installation
[edit]Warning: You are not logged in. Please create an account or log in to proceed. After installing the script, bypass your cache.
- Method 1
Click on the button below. If it doesn't appear after a few seconds you can enable script installer in the "Advanced" section of Special:Preferences#mw-prefsection-gadgets, or try this link.
- Method 2
This can only be used on the English Wikipedia.
- Place the following at the bottom of your common.js page or your skin.js page:
importScript('Template:Script installation text.js'); // [[Template:Script installation text.js]]
- Press (ignore any error warnings).
- Method 3
This can be used on any Wikimedia project (for instance, globally in your global.js on the Meta-Wiki).
- Place the following on the bottom of your common.js page or your skin.js page:
mw.loader.load('https://en.wikipedia.org/w/index.php?title=Template%3AScript+installation+text.js&action=raw&ctype=text/javascript'); // [[Template:Script installation text.js]]
- Press (ignore any error warnings).
Usage
[edit]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).