Jump to content

Talk:Requests for comment/Regex-based blacklist

Add topic
From mediawiki.org
  • Do we know why it would be useful to block spam in only certain namespaces?
  • Why do we want sysops to be able to override the spam blacklist? It would be useful perhaps for bots and/or rollback to be unaffected, but that's it.
  • It might be worth noting that this should be implemented with a special page that has a proper log like Special:Log/spamblacklist

 — Mike.lifeguard | @meta 00:10, 20 December 2008 (UTC)Reply

Phalanx: a ready to use solution

[edit]

I stumbled upon this RFC while browsing the list and wanted to share this bit: we've written a regex-based blacklist at Wikia a while back. Right now we're running it's second iteration (with main improvements being to performance thanks to a very efficient Scala-based regex processing service).

It does not do everything that's outlined in the initial RFC, but it does some things that are not mentioned here, most notably (I think) blocking different types of actions (edit, page creation, account registration) on separate blacklists.

Here's a link to the code:

Could be a good starting point.

Questions welcome, of course. TOR (talk) 23:39, 21 October 2013 (UTC)Reply