User:Erwin/SBHandler
SBHandler is a gadget to help dealing with the blacklist. It closes requests and takes care of editing Spam blacklist and logging the changes to the blacklist.
Howto
edit- Enable the script on the Gadgets tab of my preferences.
- COIBot reports
- Just hit the
[add]
link on the discussion section of COIBot reports and follow the instructions - the addition and log entry will be made for you. For COIBot reports, you're also provided a[reverted]
option, for use when you've reverted the link additions, but blacklisting isn't necessary. - Spam blacklist
- For additions/removals from Talk:Spam blacklist, use the
[add]
or[remove]
links and follow the instructions - the edit and log entry will be made for you.
Custom comments
editYou can set custom comments to be added to the request when closing it. These are:
- SBHandlerAddComment
- Adding a URL
- SBHandlerRemComment
- Removing a URL
- SBHandlerCloseComment
- Closing a request without further action
- SBHandlerRevComment
- When reverted edits
- SBHandlerDecComment
- Declining a request
You set them by defining these variables in your common.js.
- Example
SBHandlerAddComment = ':{{Added}} the URLs to the blacklist. ~~' + '~~';
This will add
- :{{Added}} the URLs to the blacklist. ~~~~
instead of
- :{{Added}}. --~~~~
to the request when you add a URL.