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
list=abusefilters (abf)
- This module requires read rights.
- Source: Abuse Filter
- License: GPL-2.0-or-later
แสดงรายละเอียดของตัวกรองการละเมิดกฎ
Parameters:
- abfstartid
ไอดีตัวกรองที่ต้องการใช้เป็นจุดเริ่มต้นของการแจงนับ
- Type: integer
- abfendid
ไอดีตัวกรองที่ต้องการใช้เป็นจุดสิ้นสุดของการแจงนับ
- Type: integer
- abfdir
In which direction to enumerate:
- newer
- List oldest first. Note: abfstart has to be before abfend.
- older
- List newest first (default). Note: abfstart has to be later than abfend.
- One of the following values: newer, older
- Default: newer
- abfshow
แสดงเฉพาะตัวกรองที่ตรงตามเกณฑ์เหล่านี้เท่านั้น
- Values (separate with | or alternative): !deleted, !enabled, !private, deleted, enabled, private
- abflimit
จำนวนตัวกรองสูงสุดที่ต้องการแสดง
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- abfprop
คุณสมบัติที่ต้องการรับข้อมูล
- Values (separate with | or alternative): actions, comments, description, hits, id, lasteditor, lastedittime, pattern, private, status
- Default: id|description|actions|status
Examples:
- แสดงรายการตัวกรองสาธราณะที่ถูกเปิดใช้งาน
- api.php?action=query&list=abusefilters&abfshow=enabled|!private [open in sandbox]
- แสดงรายละเอียดบางส่วนเกี่ยวกับตัวกรอง
- api.php?action=query&list=abusefilters&abfprop=id|description|pattern [open in sandbox]