Talk:Requests for comment/Regex-based blacklist

&mdash; Mike.lifeguard &#124; @meta 00:10, 20 December 2008 (UTC)
 * 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

Phalanx: a ready to use solution
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:
 * php layer and Special page
 * Scala layer for storing and computing regexes

Could be a good starting point.

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