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=abusefiltercheckmatch
(main | abusefiltercheckmatch)
- This module requires read rights.
- Source: Abuse Filter
- License: 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 หรือ logid แต่สามารถใช้ได้เพียงอย่างเดียว
Parameters:
- filter
ข้อความตัวกรองแบบเต็มที่จะตรวจหารายการที่ตรงกัน
- This parameter is required.
- vars
แถวลำดับที่เข้ารหัสแล้วของ JSON ของตัวแปรที่จะนำมาใช้ทดสอบ
- rcid
ไอดีการเปลี่ยนแปลงล่าสุดที่จะนำมาใช้ตรวจสอบ
- Type: integer
- logid
ไอดีปูมตัวกรองการละเมิดกฎที่จะนำมาใช้ตรวจสอบ
- Type: integer
Example:
- ทดสอบว่าไอดีการเปลี่ยนแปลงล่าสุด 15 ตรงกับตัวกรองอย่างง่าย
- api.php?action=abusefiltercheckmatch&filter=!("autoconfirmed"%20in%20user_groups)&rcid=15 [open in sandbox]