Wikipedia:Edit filter: Difference between revisions
Appearance
Content deleted Content added
m update |
←Blanked the page |
||
Line 1: | Line 1: | ||
{{guideline|WP:EF|WP:AF|WP:FILTER}} |
|||
{{Filternav}} |
|||
The '''[[Special:AbuseFilter|Edit filter]]''' is a tool used to allow privileged users to set specific controls on user activity and create automated reactions for certain behaviors. |
|||
The [[mw:Extension:AbuseFilter|Abuse Filter extension]] was developed by [[User:Werdna|Werdna]] with support from the Wikimedia Foundation, and went live on the English Wikipedia in March 2009. As of July 2009, nearly all user-facing elements of the filter refer to it as as the "Edit filter" as not all the edits it flags are abusive. In the software and special pages it retains its original name. |
|||
The extension allows automatic filters/heuristics to be applied to all edits. Specific rules can be developed, such as "users with fewer than 500 edits are blocked from moving pages to titles which match this regular expression: /poop/". Of course, the rules can get quite a bit more complicated. |
|||
Log entries are viewable by all users, and while filters are by default publicly viewable, others are set to be private. For all filters, including those hidden from public view, a brief, general summary of what the rule targets will be available, and displayed in the log, the list of active filters, and in any error messages generated by the filter. |
|||
Implementation of AbuseFilter on Wikipedia is being done with due caution—most abuse filters should be tested for a few days (in "log only" mode) before being brought to full force ("warn", "disallow" or "throttle" modes). Only members of specific groups are allowed to modify any of the filters, and this group is assignable by administrators. |
|||
Presently, requests for assignment of the "Edit Filter managers" group to non-admins should be made at [[Wikipedia talk:Edit filter]], where a discussion will be held for up to a week prior to a decision being made.<ref>Process informally agreed upon when {{user|Cobi}} was granted the userright in this thread: [[Wikipedia talk:Edit filter/Archive 3#Abuse Filter editors group membership request]].</ref> |
|||
== Extension documentation == |
|||
{{ombox|type=content|text=The below was written when the extension was first written, and may be somewhat out of date.}} |
|||
=== Filtering criteria === |
|||
For all of the following, we can do extensive normalisation, regex matching, length comparison and regular comparisons (less than, greater than, equal to) matching, combining different filters with boolean logic. |
|||
==== User ==== |
|||
* Edit count. |
|||
* Account age. |
|||
* Groups. |
|||
* Email-confirmed status. |
|||
==== Titles (moved-to, moved from included) ==== |
|||
* Namespace. |
|||
* Title. |
|||
* Full text. |
|||
* Restrictions and protection status. |
|||
==== Action ==== |
|||
* The action type (edit, move or createaccount). |
|||
* Edit summary. |
|||
* Contents of the edit. |
|||
==== Throttling ==== |
|||
*Filters can specify whether actions done at a certain rate are by the same IP address, account, /16 range, account-creation-date, and/or to the same page, for a consequence (below) to be invoked. |
|||
* Any of the above conditions can be combined to produce a separate rate-limiter. For instance, we can group all accounts created on the same date, from the same /16, for the purposes of rate-limiting. |
|||
* Any actions set for that filter will occur if, and only if, the rate-limiter is tripped. This reduces false-positives by making the filter apply only if the same user is consistently tripping a particular filter, rather than a single false-positive. |
|||
=== Actions which can be assigned in response to filtered edits === |
|||
If a user triggers a filter, AbuseFilter can apply any of the following sanctions based on the severity of the offense: |
|||
* All actions triggering a filter are logged at a special page. |
|||
* The user's action can be tagged for further review. |
|||
* The user can be warned that their actions may be unconstructive. |
|||
* The user's action may be disallowed. |
|||
* The user's account may have its autoconfirmed status suspended for a random period between 3 and 7 days. |
|||
* The user's account may be blocked from editing, along with all IP addresses used in the last 7 days. |
|||
* The user's account may be removed from all privileged groups (such as sysop, bot, rollbacker). |
|||
Note: Individual sanctions can be disabled selectively. |
|||
=== Monitoring === |
|||
All edits triggering an action will produce a report at [[Special:AbuseLog]]. On this page, a brief log entry is entered. Users with the appropriate permissions may view the log summary. Users with certain higher permissions may view details on the log entry. This includes all information available to the filter when it ran, and may be useful for debugging purposes. Users with the highest level of log-viewing permissions may view private data about the action which caused the log event, such as the user's IP address. See the [[mw:Extension:AbuseFilter|AbuseFilter documentation]] for more details on the permissions structure. |
|||
==== Sample abuse log entries ==== |
|||
* 06:43, 23 June 2008: [[User:Andrew|Andrew]] ([[User talk:Andrew|Talk]] | [[Special:Contributions/Andrew|contribs]] | [[Special:Block/Andrew|block]]) triggered an abuse filter, making a edit on [[Main Page]]. Actions taken: warn,disallow; Filter description: Test Filter |
|||
* 06:43, 23 June 2008: [[User:Andrew|Andrew]] ([[User talk:Andrew|Talk]] | [[Special:Contributions/Andrew|contribs]] | [[Special:Block/Andrew|block]]) triggered an abuse filter, making a edit on [[Main Page]]. Actions taken: none; Filter description: Test Filter |
|||
==== Sample detailed abuse log entries ==== |
|||
[[Image:AbuseLog-Sample.png|thumb|A sample detailed log entry]] |
|||
* 06:43, 23 June 2008: [[User:Andrew|Andrew]] ([[User talk:Andrew|Talk]] | [[Special:Contributions/Andrew|contribs]] | [[Special:Block/Andrew|block]]) triggered filter 1, making a edit on [[Main Page]]. Actions taken: warn,disallow; Filter description: Test Filter (details) |
|||
* 06:43, 23 June 2008: [[User:Andrew|Andrew]] ([[User talk:Andrew|Talk]] | [[Special:Contributions/Andrew|contribs]] | [[Special:Block/Andrew|block]]) triggered filter 2, making a edit on [[Main Page]]. Actions taken: none; Filter description: Test Filter (details) |
|||
* 06:42, 23 June 2008: [[User:Andrew|Andrew]] ([[User talk:Andrew|Talk]] | [[Special:Contributions/Andrew|contribs]] | [[Special:Block/Andrew|block]]) triggered filter 1, making a edit on [[Main Page]]. Actions taken: warn; Filter description: Test Filter (details) |
|||
* 06:42, 23 June 2008: [[User:Andrew|Andrew]] ([[User talk:Andrew|Talk]] | [[Special:Contributions/Andrew|contribs]] | [[Special:Block/Andrew|block]]) triggered filter 2, making a edit on [[Main Page]]. Actions taken: none; Filter description: Test Filter (details) |
|||
* 06:22, 23 June 2008: [[User:Andrew|Andrew]] ([[User talk:Andrew|Talk]] | [[Special:Contributions/Andrew|contribs]] | [[Special:Block/Andrew|block]]) triggered filter 1, making a edit on [[Main Page]]. Actions taken: warn,disallow; Filter description: Test Filter (details) |
|||
* 06:22, 23 June 2008: [[User:Andrew|Andrew]] ([[User talk:Andrew|Talk]] | [[Special:Contributions/Andrew|contribs]] | [[Special:Block/Andrew|block]]) triggered filter 2, making a edit on [[Main Page]]. Actions taken: none; Filter description: Test Filter (details) |
|||
The details link brings up a screen like that on the right. |
|||
=== Safeguards === |
|||
To protect the wiki against poorly configured filters, a technical limit is imposed on the maximum percentage of actions that will trigger a given filter. Other technical limits are in the process of being written. |
|||
=== Notification === |
|||
All notifications are based on the template {{[[template:edit filter warning|edit filter warning]]}}. |
|||
Standard notifications shown to a user triggering a filter '''action''': |
|||
{| class=wikitable |
|||
! Message name |
|||
! Message text |
|||
|- |
|||
| <tt>[[MediaWiki:abusefilter-disallowed|abusefilter-disallowed]]</tt> |
|||
| {{MediaWiki:abusefilter-disallowed}} |
|||
|- |
|||
| <tt>[[MediaWiki:abusefilter-blocked|abusefilter-blocked]]</tt> |
|||
| {{MediaWiki:abusefilter-blocked}} |
|||
|- |
|||
| <tt>[[MediaWiki:abusefilter-degrouped|abusefilter-degrouped]]</tt> |
|||
| {{MediaWiki:abusefilter-degrouped}} |
|||
|- |
|||
| <tt>[[MediaWiki:abusefilter-autopromote-blocked|abusefilter-autopromote-blocked]]</tt> |
|||
| {{MediaWiki:abusefilter-autopromote-blocked}} |
|||
|} |
|||
Generic '''warning''' message is below. Admins are advised to use custom warnings. |
|||
{| class=wikitable |
|||
! Message name |
|||
! Message text |
|||
|- |
|||
| <tt>[[MediaWiki:abusefilter-warning|abusefilter-warning]]</tt> |
|||
| {{MediaWiki:abusefilter-warning}} |
|||
|} |
|||
Some existing filters and their warnings: |
|||
{| class=wikitable |
|||
! Filter and message |
|||
! Message text |
|||
|-valign=top |
|||
| [[Special:AbuseFilter/3|3: blanking articles]]<br /><br /> |
|||
<tt>[[MediaWiki:abusefilter-warning-blanking|blanking]]</tt> |
|||
| {{MediaWiki:Abusefilter-warning-blanking}} |
|||
|-valign=top |
|||
| [[Special:AbuseFilter/30|30: large deletions]]<br /><br /> |
|||
<tt>[[MediaWiki:abusefilter-warning-removal|removal]]</tt> |
|||
| {{MediaWiki:abusefilter-warning-removal}} |
|||
|-valign=top |
|||
| [[Special:AbuseFilter/18|18: test edits]]<br /><br /> |
|||
<tt>[[MediaWiki:abusefilter-warning-testeditwarn|testeditwarn]]</tt> |
|||
| {{MediaWiki:abusefilter-warning-testeditwarn}} |
|||
|} |
|||
If a filter is set to warn and disallow, then a user clicking "Save page" will alternatively see that warning and standard [[MediaWiki:Abusefilter-disallowed|disallowed]] message. |
|||
==Known issues== |
|||
When the extension is initially installed, the available actions will '''not''' include blocking or removing from privileged groups. This restricted usage has been determined by community consensus, and if the extension is successful, the community may decide to enable the <tt>block</tt>, <tt>rangeblock</tt> or <tt>degroup</tt> actions for use on this wiki. Admins wishing to block users for triggering the abuse filter can use the {{tl|uw-afblock}} template. |
|||
The full technical details of implementation are available on the bug ([[bugzilla:15684|bug 15684]]). |
|||
==Notes== |
|||
<references/> |
|||
[[ar:ويكيبيديا:مرشح الإساءة]] |
|||
[[de:Wikipedia:Missbrauchfilter]] |
|||
[[fr:Aide:AbuseFilter]] |
|||
[[lt:Vikipedija:Abuse filter]] |
|||
[[no:Wikipedia:Misbruksfilter]] |
|||
[[pl:Wikipedia:Filtr nadużyć]] |
|||
[[pt:Wikipedia:Filtro de abuso]] |
|||
[[ru:Википедия:Фильтр правок]] |
|||
[[fi:Wikipedia:Väärinkäyttösuodatin]] |
|||
[[sv:Wikipedia:Missbruksfilter]] |
|||
[[uk:Вікіпедія:Фільтр зловживань]] |
|||
[[zh-yue:Wikipedia:濫用過濾器]] |
|||
[[zh:Wikipedia:防滥用过滤器]] |
|||
[[Category:Wikipedia edit filter| ]] |