Extension:AbuseFilter/Actions

From MediaWiki.org
Jump to: navigation, search

The following actions are available in the AbuseFilter extension:

Logging[edit | edit source]

All filter matches are logged in the abuse log. This cannot be turned off.

Warning[edit | edit source]

The user is warned that their edit may not be appreciated, and is given the opportunity to submit it again. You may specify a specific system message containing the warning to display.

Throttling[edit | edit source]

Note: Throttling only works if your MediaWiki instance is using memcached. See Bug 50894.

The filter will only match if a rate limit is tripped. You can specify the number of actions to allow, the period of time in which these actions must occur, and how those actions are grouped.

The groupings are which sets of people should have aggregate (shared) throttles. That is, if you type 'user', then the same user must match the filter a certain number of times in a certain period of time. You may also combine groups with commas to specify that throttle matches sharing all criteria will be aggregated. For example, using 'ip,page', X filter matches in Y seconds from the same IP address to the same page will be required to trip the remainder of the actions.

Full list of filter groups:

  • ip – IP address.
  • user – User account.
  • range – /16 range.
  • creationdate – Creation date, server time.
  • editcount – Edit count — hack so that you can detect distinct users.
  • site – The whole site.
  • page – Page

Disallowing[edit | edit source]

Actions matching the filter will be prevented, and a descriptive error message will be shown.

Revoking auto-promoted groups[edit | edit source]

Actions matching the filter will cause the user in question to be barred from receiving any extra groups from $wgAutoPromote for a period ranging from 3 to 7 days (random). This can be restored at the debug tools page.

Warning: This action also affects administrators, even its creator. If an administrator is revoked, he will not be able to access AbuseFilter page to disable the filter or to restore his status for a while. Checking user's group first is the good way.

Blocking[edit | edit source]

Users matching the filter will be blocked indefinitely, with a descriptive block summary indicating the rule that was triggered.

Removing from privileged groups[edit | edit source]

Users matching the filter will be removed from all privileged groups (sysop, bureaucrat, etc). A descriptive summary will be used, detailing the rule that was triggered.

Range-blocking[edit | edit source]

Somewhat of a 'nuclear option', the entire /16 range from which the rule was triggered will be blocked for 24 hours.

Tagging[edit | edit source]

The edit or change can be 'tagged' with a particular tag, which will be shown on Recent Changes, contributions, logs, new pages, history, and everywhere else. These tags are stylable, so you can have items with a certain tag appear in a different colour or similar.

Language: English  • русский