Search results
Results From The WOW.Com Content Network
The number of installations of a script is taken as the number of userspace common.js or skin.js pages that contain the script's name (example search query).Commented-out installations also get counted, but the over-counting because of this should be negligible.
Scripts that change the appearance or behavior (UI/UX) of the site. Any script that does nothing other than add a link to a page to a menu, panel or toolbar belongs to § Shortcuts . Any script that makes an edit to a page (i.e. increases the user's contributions) or changes the appearance or behavior of the edit form ( action=edit/submit ...
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.
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).
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 ...
Only logged-in users can install user scripts. to edit your common.js file. Add the following line: {{subst:Lusc|script_path}} – replace "script_path" with the full name of the .js page that opens when a script's "(source)" link is clicked. The Load user script (Lusc) template will add the necessary mw.loader.load line along with a backlink.
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 ...
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 ...