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.
- Lähde: Abuse Filter
- Lisenssi: GPL-2.0-or-later
Evaluates an AbuseFilter expression.
Parametrit:
- expression
Arvioitava lauseke.
- This parameter is required.
- prettyprint
Whether the result should be pretty-printed.
- Type: boolean (details)
esimerkkiä:
- Arvioi yksinkertaista lauseketta
- api.php?action=abusefilterevalexpression&expression=lcase("FOO") [avaa hiekkalaatikossa]
- Evaluate a simple expression, formatting the result
- api.php?action=abusefilterevalexpression&expression=lcase("FOO")&prettyprint=1 [avaa hiekkalaatikossa]