Справка MediaWiki API
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=abusefiltercheckmatch
(main | abusefiltercheckmatch)
- Этот модуль требует прав на чтение.
- Источник: Abuse Filter
- Лицензия: GPL-2.0+
Check to see if an AbuseFilter matches a set of variables, editor logged AbuseFilter event.
vars, rcid or logid is required however only one may be used.
Параметры:
- filter
The full filter text to check for a match.
- Это обязательный параметр.
- vars
JSON encoded array of variables to test against.
- rcid
Recent change ID to check against.
- Тип: integer
- logid
Abuse filter log ID to check against.
- Тип: integer
Пример:
- Test if recent change ID 15 matches a simple filter
- api.php?action=abusefiltercheckmatch&filter=!("autoconfirmed"%20in%20user_groups)&rcid=15 [open in sandbox]