Search results
Results From The WOW.Com Content Network
If any files were created since the last time you deployed, create them onwiki with empty content. Else the deploy script will not be able to edit them. Depending on your wiki... testwiki: python ./scripts/upload.py test MediaWiki:Gadget-afchelper; enwiki: python ./scripts/upload.py en MediaWiki:Gadget-afchelper
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).
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.
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: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 ...
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 ...
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 ...