Справка MediaWiki API

Это автоматически сгенерированная страница документации MediaWiki API.

Документация и примеры: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=abusefilters (abf)

(main | query | abusefilters)
  • Этот модуль требует прав на чтение.
  • Источник: Abuse Filter
  • Лицензия: GPL-2.0-or-later

Отображение подробностей фильтров злоупотреблений

Определённые параметры:
Other general parameters are available.
abfstartid

Идентификатор фильтра, с которого начать перечисление.

Тип: целочисленное значение
abfendid

Идентификатор фильтра, на котором закончить перечисление.

Тип: целочисленное значение
abfdir

В каком порядке перечислять:

ascending
Enumerate filters in ascending order.
descending
Enumerate filters in descending order.
newer
Enumerate filters in ascending order.
older
Enumerate filters in descending order.
Одно из следующих значений: ascending, descending, newer, older
По умолчанию: ascending
abfshow

Показывать только фильтры, которые отвечают этим критериям.

Значения (разделённые с помощью | или альтернативного разделителя): !deleted, !enabled, !private, !protected, !suppressed, deleted, enabled, private, protected, suppressed
abflimit

Максимальное число фильтров в списке.

Тип: целое число или max
Значение должно быть между 1 и 500.
По умолчанию: 10
abfprop

Какие свойства необходимо получить.

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
Устарело. Use "flags" instead.
Adds information on whether the filter is enabled and/or deleted.
suppressed
Устарело. Use "flags" instead.
Adds information on whether the filter is suppressed.
private
Устарело. Use "flags" instead.
Adds information on whether the filter is private.
protected
Устарело. Use "flags" instead.
Adds information on whether the filter is protected.
Значения (разделённые с помощью | или альтернативного разделителя): actions, comments, description, flags, hits, id, lasteditor, lastedittime, pattern, private, protected, status, suppressed
По умолчанию: id|description|actions|flags
Примеры:
Список включённых публичных фильтров
api.php?action=query&list=abusefilters&abfshow=enabled|!private [открыть в песочнице]
Показать дополнительную информацию о фильтрах
api.php?action=query&list=abusefilters&abfprop=id|description|pattern [открыть в песочнице]