spamublock.js | |
---|---|
Author(s) | MusikAnimal |
Status | Stable |
Updated | February 20, 2015 |
Browser support | Any modern browser, IE8+ |
Skin support | Vector, Monobook, probably others |
Source | User:MusikAnimal/spamublock.js |
spamublock.js is a user script that expedites the all too common ((uw-spamublock)) scenario. That is, you have a WP:G11 user page of a user with promotional user name.
If you are on any page in the userspace, there will be a ((spamublock)) link in your cactions menu (the "More" menu on Vector skin, or the top toolbar on Monobook). Alternatively there is separate script to put the link in your toolbox (see #Setup).
Once clicked you are prompted for confirmation, then the following will occur:
You can use your own template instead, just create it at Special:MyPage/uw-spamublock and the script will use that instead of ((uw-spamublock)).
Add the following to your common.js:
((subst:lusc|User:MusikAnimal/spamublock.js))
If you want the link to be in your toolbox rather than the cactions menu, use this instead:
((subst:lusc|User:MusikAnimal/spamublock-toolbox.js))