MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=abusefilterchecksyntax
(main | abusefilterchecksyntax)
- This module requires read rights.
- Source: Abuse Filter
- License: GPL-2.0-or-later
Check syntax of an AbuseFilter filter.
Specific parameter:
Other general parameters are available.
- filter
The full filter text to check syntax on.
- This parameter is required.
Examples:
- Check syntax of a valid filter
- api.php?action=abusefilterchecksyntax&filter="foo" [open in sandbox]
- Check syntax of an invalid filter
- api.php?action=abusefilterchecksyntax&filter="bar"%20bad_variable [open in sandbox]