Помоћ око Медијавикијевог API-ја
Ово је аутоматски генерисана документација за Медијавики API
Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-
action=abusefiltercheckmatch
(main | abusefiltercheckmatch)
- This module requires read rights.
- Извор: Abuse Filter
- Лиценца: GPL-2.0-or-later
Check to see if an AbuseFilter matches a set of variables, an edit, or a logged AbuseFilter event.
vars, rcid or logid is required however only one may be used.
Специфични параметри:
Other general parameters are available.
- filter
The full filter text to check for a match.
- This parameter is required.
- vars
JSON encoded array of variables to test against.
- rcid
Recent change ID to check against.
- Type: integer
- logid
Abuse filter log ID to check against.
- Type: 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]