Search results
Results From The WOW.Com Content Network
In order to install a user script for your Wikipedia account, add the following line to Special:MyPage/common.js or Special:MyPage/skin.js: {{subst:iusc|script_path}} Replace script_path with the full .js page name of the user script to be installed. The template must be substituted (subst:), or else it won't work. Bypass your cache after ...
Starting out, it may be easier to modify an existing script to do what you want, rather than create a new script from scratch. This is called "forking". To do this, copy the script to a subpage, ending in ".js", [n. 1] of your user page. Then, install the new page like a normal user script.
In order to install a user script for your Wikipedia account, add the following line to Special:MyPage/common.js or Special:MyPage/skin.js: {{subst:iusc|script_path}} Replace script_path with the full .js page name of the user script to be installed. The template must be substituted (subst:), or else it won't work. Bypass your cache after ...
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).
* @param wiki a wiki from which the script is loaded, such as * "en.wikipedia" If null, the script is local, on the user's * wiki. * @param url a URL that can be passed into mw.loader.load. * @param target the title of the user subpage where the script is, * without the .js ending: for example, "common".
Also, you can write a new user script, either by modifying an existing script or by starting from scratch. WikiProject JavaScript is a collaboration of editors to improve Wikipedia's JavaScript coverage, write user scripts, and maintain user script-related pages (like the one you are reading right now).
If any defaults are incorrect for your script, enter the necessary parameters explicitly. If you end up leaving the template with no "(source)" link produced, make sure your documentation page includes complete installation instructions, along with any necessary code page addresses. You can make up any name for the |name parameter. It is just ...
In order to install a user script for your Wikipedia account, add the following line to Special:MyPage/common.js or Special:MyPage/skin.js: {{subst:lusc|script_path}} Replace script_path with the full .js page name of the user script to be installed. The template must be substituted (subst:), or else it won't work. Bypass your cache after ...