The center for all Wikitravel images!

Tech:Enable AbuseFilter

From Wikitravel Shared
Jump to: navigation, search

The AbuseFilter extension [1] (often called "Edit Filter" because not everything it does is related to abuse) allows users with the correct permissions (usually admins) to set up rules that trigger on specific editing actions and patterns.

For example, here is Filter #3 on the English Wikipedia. It looks for non-autoconfirmed users making edits that result in a page being reduced from more than 500 bytes to fewer than 50 bytes. In layman's terms, it looks for new users blanking pages. When such a user tries to make such an edit, they will receive an automated warning message that suggests alternatives to blanking the page. (In this case, the user is given the opportunity to go ahead and make the change after the warning, but it's possible to also prevent the edit from occurring.) The edit is then flagged in the page history as "blanking" and will also show up on watchlists as "blanking".

All of these options are fully configurable. When the AbuseFilter finds a match, it can flag the result in the filter log, trigger only on a defined rate limit, give the user a warning, prevent the action entirely, revoke autoconfirmed status for the user, and/or tag the action in histories and watchlists.

Needless to say, this is an extremely powerful tool. It accomplishes many of the tasks that, on en.wikipedia, were previously done by bots -- tasks which we here on Wikitravel must do manually. It is also, therefore, a very dangerous tool, as a poorly constructed rule might result in widespread disruption. There is also a small performance hit, proportional to the number of rules and their complexity. I estimate we would not need very many rules, so the performance hit should be minimal, especially given the relatively low volume of edits compared to English Wikipedia.

I would recommend that this feature be limited at first to a selected subset of admins on any given Wikitravel wiki, with a view toward opening it up to all admins if deemed necessary.

-- LtPowers 08:34, 19 June 2012 (EDT)

I've engaged tech to begin determining the viability of this task.--IBobi 21:16, 9 July 2012 (EDT)
Do you think it is possible to limit access only to, say, bureaucrats?--IBobi talk email 20:53, 24 July 2012 (EDT)
Technically, yes, I'm certain its possible to assign the right to the bureaucrat group. (I assume we're talking about access to editing the filters; anyone should be able to view the filters.) Doing so would seem to be a good place to start, though I'd be interested in the bureaucrats' opinions. LtPowers 19:23, 25 July 2012 (EDT)
That works, but our bureaucrat selection process has not involved vetting for technical prowess—we've just been picking people who have been around long enough to be established as trustworthy, and who are around often enough to take care of the routine and banal requests for username changes and admin switch flipping. I wouldn't touch this tool without specific instructions from someone who knows what they are doing, as I am trustworthy ;) So, limiting the tool to bureaucrats works if we either have some who can use this, or are willing to extend the privileges to more users who do. --Peter Talk 14:06, 26 July 2012 (EDT)

Variants

Actions

In other languages