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=abusefilterevalexpression

(main | abusefilterevalexpression)
  • This module requires read rights.
  • Source: Abuse Filter
  • License: GPL-2.0-or-later

Evaluates an AbuseFilter expression.

Specific parameters:
Other general parameters are available.
expression

The expression to evaluate.

This parameter is required.
prettyprint

Whether the result should be pretty-printed.

Type: boolean (details)
Examples:
Evaluate a simple expression
[open in sandbox]
Evaluate a simple expression, formatting the result
[open in sandbox]