User talk:GeorgeBarnick/Archive 1

AbuseFilter for profanity
May I let you know? I've compiled a list here: https://dl.dropboxusercontent.com/u/67842559/approved.txt - Or if you could compile a short list and let me know how to add to it myself, I will gladly do so. If you could also make a short example of blocking profanity, I'd appreciate that too. Additionally, would it be possible to alert users when they're not linking to an approved site? It would be easier letting them know what they can do if they were given a list of approved sites. Thanks so much again. --MarPuma (talk) 06:04, 24 February 2014 (UTC)
 * I'll start working on abuse filters for you soon. :) --GeorgeBarnick (talk) 14:19, 24 February 2014 (UTC)

Alright, here are the filters I've come up with. They should do the trick.  !("sysop" in user_groups) & (action == "edit") & ("://" in added_lines) !("(.neopets.com|.neopet.com|.neoplants.com|.petpetpark.com|.monkeyquest.com|.nick.com|.jellyneo.net|.sunnyneo.com|.thedailyneopets.com|.drsloth.com|impress.openneo.net|www.s2bookworld.co.uk|lost.quiggle.org|ntwriters.proboards.com|neochat.wordpress.com)" in added_lines)

Set the actions for the filter to take on that to "Prevent the user from performing the action in question". To prevent profanity, use a filter like this:  ("(phrase1|phrase2|phrase3|phrase4)" in added_lines)

And just replace "phrase1" and the others with the profanity you want to prevent. Set that filter to "Prevent the user from performing the action in question" as well, and you should be good to go. If that doesn't work, let me know. --GeorgeBarnick (talk) 15:39, 24 February 2014 (UTC)