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)

test
test per request Ajraddatz (Talk) 04:40, 3 May 2014 (UTC)
 * thanks mate --GeorgeBarnick (talk) 04:47, 3 May 2014 (UTC)

Abusefilter
Hi again, I'm the user who originally asked for help AbuseFilter right above. I've finally gotten around to adding the filters you've designed, and they don't seem to work at all. The first issue I had was an "Unexpected T_OP" - It didn't like the "!" in the "!("(.neopets.com". I've done some testing, and users still seem to be able to post links to any location they please. Could you help me look into this again? --24.119.228.163 00:52, 14 May 2014 (UTC)
 * Hmmm, I'm not sure. Abusefilter isn't something I'm great at except for simple things. You may have to ask someone else in #mediawiki on IRC to help. Did the profanity filter work though? --GeorgeBarnick (talk) 00:56, 14 May 2014 (UTC)
 * Oh yes, that worked perfectly. I just can't seem to work anything that works in such a specific way - "Only allowing items on the list, and disallowing the rest". --24.119.228.163 01:09, 14 May 2014 (UTC)

restore User:Tomahawk please?
User:Tomahawk is using mw.o as a place to demonstrate some wiki handling and analysis skills as a candidate for a WMF staff position. Could I have you restore the page? The objectionable content will be removed shortly.

Thanks Cmcmahon(WMF) (talk) 22:06, 23 May 2014 (UTC)
 * Alright I'll do so shortly, probably when I get home (on mobile right now). Apologies for deleting it; it was flagged for speedy deletion as spam and had a bunch of external links so I didn't think twice before deleting it lol. --GeorgeBarnick (talk) 22:22, 23 May 2014 (UTC)
 * From now on we'll do these exercises in test2wiki instead of mw.o. Sorry for the inconvenience Cmcmahon(WMF) (talk) 20:28, 24 May 2014 (UTC)
 * It's alright! --GeorgeBarnick (talk) 20:30, 24 May 2014 (UTC)

Ha ha! I found what might be a bug with external links. Didn't know I was violating the protocol. :) which link was objectionable? — Preceding unsigned comment added by Tomahawk (talk • contribs)
 * Not really that they were objectionable; moreso that they weren't related to MediaWiki.org's project scope and seemed random (usually how spam link are). --GeorgeBarnick (talk) 20:30, 24 May 2014 (UTC)