Справка MediaWiki API
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=abusefilters (abf)
- Этот модуль требует прав на чтение.
- Источник: Abuse Filter
- Лицензия: GPL-2.0+
Show details of the abuse filters.
Параметры:
- abfstartid
The filter ID to start enumerating from.
- Тип: integer
- abfendid
The filter ID to stop enumerating at.
- Тип: 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.
- Одно из следующих значений: older, newer
- По умолчанию: newer
- abfshow
Show only filters which meet these criteria.
- Значения (разделённые |): enabled, !enabled, deleted, !deleted, private, !private
- abflimit
The maximum number of filters to list.
- Разрешено не более чем 500 (5000 для ботов).
- Тип: целое число или max
- По умолчанию: 10
- abfprop
Какие свойства необходимо получить.
- Значения (разделённые |): id, description, pattern, actions, hits, comments, lasteditor, lastedittime, status, private
- По умолчанию: id|description|actions|status
Примеры:
- 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]