Ads
related to: installsite install script download minecraft editiongame.overwolf.com has been visited by 100K+ users in the past month
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 ...
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Help; Learn to edit; Community portal; Recent changes; Upload file
Main page; Contents; Current events; Random article; About Wikipedia; Contact us
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Help; Learn to edit; Community portal; Recent changes; Upload file
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).
@Xaosflux It was only tested at Template:Install user script/sandbox since it's only changing parameters within the noinclude (it won't show up in testcases). It would allow a user to copy the formatting to manually install a script without actually using the template. However, as a matter of good practice, I'll go ahead and create a testcases ...