Search results
Results From The WOW.Com Content Network
Do not use let scriptNameSettingName = 'value here'; in the common.js file. If the user forgets the setting, you may get undeclared variable errors. If you want your user script to write and save configuration settings as it is running, you may want to have it write to its own .js file in the user's userspace.
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: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
Add a link to view what template calls are producing what parts of the page. N/A: N/A: Source Verification AI Assistant : Script to help editors verify whether a reliable source supports a claim. 11: 7: ToggleSmall : Enables small and big text to be made default size, as well as unstriking text. N/A: N/A: VectorMaxWidth
What links here; Related changes; Upload file; Special pages; Permanent link; Page information; Get shortened URL; Download QR code
Check the accuracy of the links after placing this template! 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.