MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=abusefilters (abf)
- This module requires read rights.
- Source: Abuse Filter
- License: GPL-2.0+
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: older, newer
- Default: newer
- abfshow
Show only filters which meet these criteria.
- Values (separate with |): enabled, !enabled, deleted, !deleted, private, !private
- abflimit
The maximum number of filters to list.
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- Default: 10
- abfprop
Which properties to get.
- Values (separate with |): id, description, pattern, actions, hits, comments, lasteditor, lastedittime, status, private
- 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]