User:Beetstra/Gadget-Spam-blacklist-Handler
This gadget adds buttons to the section header of User talk:XLinkBot/RevertList, MediaWiki talk:Spam-blacklist, Wikipedia talk:WikiProject Spam, as well as on the pages in the tree under Wikipedia:WikiProject Spam/Local (categorised: Local COIBot Reports).
Appearance
[edit]For the former two the buttons include an 'add RL' and an 'add BL' on the 'requested additions'-sections and 'del RL' and 'del BL' on the 'requested removals' sections. On the latter two there are 'add rl' and 'add bl' buttons (per section for Wikipedia talk:WikiProject Spam, on the discussion section on the local reports).
Clicking the 'add' buttons automatically:
- closes the request
- adds the link to XLinkBot's revertlist (add RL) or MediaWiki:Spam-blacklist (add BL), converted to the standard regex for the domains listed in that section in {{LinkSummary}} templates (or, for the local reports, the domain of the report)
- logs it in the appropriate section of the appropriate log, with permanent links to the original request and to the actual addition.
Clicking the 'del' buttons automatically:
- closes the request
- removes the regex for the domains listed in that section in {{LinkSummary}} templates (or, for the local reports, the domain of the report) from XLinkBot's revertlist (add RL) or MediaWiki:Spam-blacklist (add BL)
- logs it in the appropriate section of the appropriate log, with permanent links to the original request and to the actual removal.
Installation
[edit]Activation: put importScript('User:Beetstra/Gadget-Spam-blacklist-Handler.js');
in Special:MyPage/vector.js (your personal vector.js) and save the page. It will only work for admins.