MediaWiki API help
This is an auto-generated MediaWiki Action API documentation page.
list=abusefilters (abf)
- This module requires read rights.
- Source: Abuse Filter
- License: GPL-2.0-or-later
Show details of the abuse filters.
Specific parameters:
Other general parameters are available.
- abfstartid
The filter ID to start enumerating from.
- Type: integer
- abfendid
The filter ID to stop enumerating at.
- Type: integer
- abfdir
In which direction to enumerate:
- ascending
- Enumerate filters in ascending order.
- descending
- Enumerate filters in descending order.
- newer
- Enumerate filters in ascending order.
- older
- Enumerate filters in descending order.
- One of the following values: ascending, descending, newer, older
- Default: ascending
- abfshow
Show only filters which meet these criteria.
- Values (separate with | or alternative): !deleted, !enabled, !private, !protected, !suppressed, deleted, enabled, private, protected, suppressed
- abflimit
The maximum number of filters to list.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- abfprop
Which pieces of information to include:
- id
- Adds the filter ID.
- description
- Adds the filter description.
- pattern
- Adds the filter rules.
- actions
- Adds actions enabled for the filter.
- hits
- Adds the filter's hit counts.
- comments
- Adds comments (aka notes) for the filter.
- lasteditor
- Adds the name of the user who last edited the filter.
- lastedittime
- Adds a timestamp representing the date on which the filter was last edited.
- flags
- Adds information on the filter's status.
- status
- Deprecated. Use "flags" instead.Adds information on whether the filter is enabled and/or deleted.
- suppressed
- Deprecated. Use "flags" instead.Adds information on whether the filter is suppressed.
- private
- Deprecated. Use "flags" instead.Adds information on whether the filter is private.
- protected
- Deprecated. Use "flags" instead.Adds information on whether the filter is protected.
- Values (separate with | or alternative): actions, comments, description, flags, hits, id, lasteditor, lastedittime, pattern, private, protected, status, suppressed
- Default: id|description|actions|flags
Examples:
- List enabled public filters
- api.php?action=query&list=abusefilters&abfshow=enabled|!private [open in sandbox]
- Show some details about filters
- api.php?action=query&list=abusefilters&abfprop=id|description|pattern [open in sandbox]