Template:Spam blacklist log instructions

From Meta, a Wikimedia project coordination wiki

Adding entries

Please use exactly the following format. The log file is read by machines. So please don't use comments like "see above" or "see following entry".

Make sure you add entries to the current log.
For more help, see Spam blacklist/About and Spam blacklist/Help.

For requests on Talk:Spam blacklist

  1. Take the logging snippets from both Talk:Spam blacklist and Spam blacklist after your edits. (Mark the request as done, then take the logging snippet provided there; add your regex(es) to the blacklist and then take the snippet there.)
    • For additions, use {{sbl-diff|1161261}}; see {{sbl-log|1161258#{{subst:anchorencode:Example}}}}, which produces addition; see request
    • For removals, use {{sbl-diff|1161261|removal}}; see {{sbl-log|1161258#{{subst:anchorencode:Example}}}}, which produces removal; see request
    • For changes, use {{sbl-diff|1161261|change}}; see {{sbl-log|1161258#{{subst:anchorencode:Example}}}}, which produces change; see request
  2. For single entries, write the entry and log data on the same line.
  3. For multiple entries, put the log data on a line beginning with " #:", then list the entries on new lines below indented by three spaces to set the regexes apart.

For bot reports

  • The log entry is provided to you; simply complete the {{sbl-diff|#}}, using the number taken after your edit to the blacklist.
  • Put your username in place of ADMINNAME unless you use "COIBot log tool".
  • If you use "SBHandler" (on the Gadgets tab of my preferences then this is all done for you)
Example:
entry                          # Admin          # log data
----------------------------------------------------------
spam\.com                      # Mike.lifeguard # addition; see User:COIBot/XWiki/spam.com
#:                             # A.B.           # addition; see request
  \buuf\.com\b
  \bufu\.com\b
  \bexample\.com\b
  \b[fu]{3}\.ca\b
\buuf\.com\b                   # Herbythyme     # removal; see request
spam\.com → \bspam\.com\b      # Beetstra       # change; see request