Jump to content

Template:Spam blacklist log instructions: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
per request
m Detect revision IDs automatically
Tag: Reverted
Line 14: Line 14:
<h4>For requests on [[Talk:Spam blacklist]]</h4>
<h4>For requests on [[Talk:Spam blacklist]]</h4>
#Take the logging snippets from both [[Talk:Spam blacklist]] and [[Spam blacklist]] after your edits. (Mark the request as done, then take the logging [[Talk:Spam blacklist#oldid|snippet]] provided there; add your regex(es) to the blacklist and then take the [[Spam blacklist#oldid|snippet]] there.)
#Take the logging snippets from both [[Talk:Spam blacklist]] and [[Spam blacklist]] after your edits. (Mark the request as done, then take the logging [[Talk:Spam blacklist#oldid|snippet]] provided there; add your regex(es) to the blacklist and then take the [[Spam blacklist#oldid|snippet]] there.)
#* For additions, use <span style="color:green;"><nowiki>{{sbl-diff|1161261}}; see {{sbl-log|1161258#{{subst:anchorencode:Example}}}}</nowiki></span>, which produces {{sbl-diff|1161261}}; see {{sbl-log|1161258#Example}}
#* For additions, use <code style="color:green;"><nowiki>{{sbl-diff|</nowiki>{{REVISIONID:Spam blacklist}}<nowiki>}}; see {{sbl-log|</nowiki>{{REVISIONID:Talk:Spam blacklist}}<nowiki>#{{subst:anchorencode:Example}}}}</nowiki></code>, which produces {{sbl-diff|{{REVISIONID:Spam blacklist}}}}; see {{sbl-log|{{REVISIONID:Talk:Spam blacklist}}#Example}}
#* For removals, use <span style="color:red;"><nowiki>{{sbl-diff|1161261|removal}}; see {{sbl-log|1161258#{{subst:anchorencode:Example}}}}</nowiki></span>, which produces {{sbl-diff|1161261|removal}}; see {{sbl-log|1161258#Example}}
#* For removals, use <code style="color:red;"><nowiki>{{sbl-diff|</nowiki>{{REVISIONID:Spam blacklist}}<nowiki>|removal}}; see {{sbl-log|</nowiki>{{REVISIONID:Talk:Spam blacklist}}<nowiki>#{{subst:anchorencode:Example}}}}</nowiki></code>, which produces {{sbl-diff|{{REVISIONID:Spam blacklist}}|removal}}; see {{sbl-log|{{REVISIONID:Talk:Spam blacklist}}#Example}}
#* For changes, use <span style="color:blue;"><nowiki>{{sbl-diff|1161261|change}}; see {{sbl-log|1161258#{{subst:anchorencode:Example}}}}</nowiki></span>, which produces {{sbl-diff|1161261|change}}; see {{sbl-log|1161258#Example}}
#* For changes, use <code style="color:blue;"><nowiki>{{sbl-diff|</nowiki>{{REVISIONID:Spam blacklist}}<nowiki>|change}}; see {{sbl-log|</nowiki>{{REVISIONID:Talk:Spam blacklist}}<nowiki>#{{subst:anchorencode:Example}}}}</nowiki></code>, which produces {{sbl-diff|{{REVISIONID:Spam blacklist}}|change}}; see {{sbl-log|{{REVISIONID:Talk:Spam blacklist}}#Example}}
# For single entries, write the entry and log data on the same line.
# For single entries, write the entry and log data on the same line.
# 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 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.

Revision as of 04:23, 24 December 2025

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|30939174}}; see {{sbl-log|30939169#{{subst:anchorencode:Example}}}}, which produces addition; see request
    • For removals, use {{sbl-diff|30939174|removal}}; see {{sbl-log|30939169#{{subst:anchorencode:Example}}}}, which produces removal; see request
    • For changes, use {{sbl-diff|30939174|change}}; see {{sbl-log|30939169#{{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