MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=abusefilters (abf)
- This module requires read rights.
- Source: Abuse Filter
- License: GPL-2.0-or-later
Show details of the abuse filters.
Parameters:
- 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:
- newer
- List oldest first. Note: abfstart has to be before abfend.
- older
- List newest first (default). Note: abfstart has to be later than abfend.
- One of the following values: newer, older
- Default: newer
- abfshow
Show only filters which meet these criteria.
- Values (separate with | or alternative): !deleted, !enabled, !private, deleted, enabled, private
- abflimit
The maximum number of filters to list.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- abfprop
Which properties to get.
- Values (separate with | or alternative): actions, comments, description, hits, id, lasteditor, lastedittime, pattern, private, status
- Default: id|description|actions|status
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]