Search results
Results from the WOW.Com Content Network
It can be random which user script finishes first, creating a race condition. One way to coordinate this is use the mw.hook interface. Perhaps the other script sends a wikipage.content event when it is done, or can be modified to do so (or you can ask the maintainer). Another way to avoid this is to use a MutationObserver.
On Wikipedia and other sites running on MediaWiki, Special:Random can be used to access a random article in the main namespace; this feature is useful as a tool to generate a random article. Depending on your browser, it's also possible to load a random page using a keyboard shortcut (in Firefox , Edge , and Chrome Alt-Shift + X ).
First, make sure you are registered and logged in.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.
Wikipedia:Deadend pages acts as an alternative but not replacement I believe. A script so those sufficiently able can regularly update the streamlined version i.e. Special:Deadendpages would be useful for easier determining of such pages and quick removal of stale
Shows a text field at the top of diff pages and oldids that contains the short Special:Diff/ (or Special:Permalink/) format. 169: 76: diff-permalink-2 : Shows a text field at the top of diff pages and oldids that contains the short Special:Diff/ (or Special:Permalink/) format with square brackets [[]] around the page name. 25: 17: diffcur
Method 2: (This will generate text which can be used on any-language Wikipedia.) Place on the bottom of your common.js page or your skin.js page. Press "Publish Changes" Method 3: (This can only be used on the English Wikipedia.) Place on the bottom of your common.js page or your skin.js page. Press "Publish Changes" →; 67: 378: monobook ...
Post your user script-related request or idea for a new user script (or gadget) as a new section below. Discussion in each section is encouraged. Note that most gadgets started out as mere user scripts.
This page will collect various techniques for achieving common tasks needed in writing user scripts. Discussion about limitations, relative portability, and speed of the various alternatives is strongly encouraged.