- This extension is not enabled by default but may be available upon request.
The AbuseFilter extension allows administrators to set specific actions to be taken when actions by users match certain criteria. Enabling the extension is subject to restrictions, and administrators are only given access when there is a clear and current need for it. Administrators can request their assigned Wiki Representative or to enable the extension.
When enabled, an administrator can navigate to Special:AbuseFilter, which lists the current filters and some basic information about them. Clicking the "Create a new filter" button will create a new filter. The public description will be visible in logs. The conditions section is where rules can be written. When the filter is hit by an action, additional actions can be taken. These include displaying a warning before allowing it to complete, completely disallowing the action, adding a tag to the action, or even blocking the user.
The syntax consists of variables (which store data), functions (which transform data), and keywords (which have common functionality).
Here are some of the most commonly used variables:
||The action taken (like |
||An array of the user's groups (like |
||An array of the user's specific rights (see Special:ListGroupRights)|
||Numerical ID of the page's namespace (this replaces the deprecated |
||The title of the page (this replaces the deprecated |
||Lines added in the edit|
||Lines removed in the edit|
- Extension:AbuseFilter - on MediaWiki.org, upon which this page was originally based
- Manual:Combating spam/AbuseFilter examples - on MediaWiki.org, some examples of filters
- Extension:AbuseFilter/Rules format - on MediaWiki.org, the full documentation on available rules
- Extension:AbuseFilter/Actions - on MediaWiki.org, more information on the actions the Abuse filter can take
- Help:Extensions - A guide to all the extensions Fandom offers