AbuseFilter: block anonymous edits on user talk pages

March 8, 2013 — Leave a comment

Here is the latest MediaWiki AbuseFilter (number 5):

!("user" in user_groups)
& article_namespace = 3

The first line checks if the visitor is logged in, and the second checks if they are editing a User Talk page. I got the namespace number from Manual:Namespace.

I made a special warning message, and then if they try again it simply disallows it. I am going to see how many hits it gets, before blocking the people/bots that trigger it, to make sure normal folks don’t get caught by it.

No Comments

Be the first to start the conversation.

Leave a Reply

*

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>