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.
  • منبع: Abuse Filter
  • License: GPL-2.0-or-later

یک عبارت پالایهٔ ویرایش را ارزشیابی می‌کند.

Parameters:
expression

عبارت برای ارزشیابی.

This parameter is required.
prettyprint

Whether the result should be pretty-printed.

Type: boolean (details)
Examples:
ارزشیابی یک عبارت ساده
api.php?action=abusefilterevalexpression&expression=lcase("FOO") [open in sandbox]
ارزیابی یک عبارت ساده برای قالب‌بندی نتیجه
api.php?action=abusefilterevalexpression&expression=lcase("FOO")&prettyprint=1 [open in sandbox]