Trợ giúp về API MediaWiki
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)
- Mô đun này cần quyền đọc.
- Source: Abuse Filter
- License: GPL-2.0-or-later
Hiển thị chi tiết của các bộ lọc sai phạm.
Các tham số:
Other general parameters are available.
- abfstartid
ID bộ lọc để bắt đầu việc đếm.
- Type: integer
- abfendid
ID bộ lọc để dừng việc đếm.
- Type: integer
- abfdir
In which direction to enumerate:
- Một trong các giá trị: newer, older
- Default: newer
- abfshow
Chỉ hiện các bộ lọc đáp ứng được những tiêu chí này.
- Các giá trị (phân tách bằng |): !deleted, !enabled, !private, !protected, deleted, enabled, private, protected
- abflimit
Số lượng tối đa các bộ lọc được liệt kê.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- abfprop
Thuộc tính mà bạn muốn lấy.
- Các giá trị (phân tách bằng |): actions, comments, description, hits, id, lasteditor, lastedittime, pattern, private, protected, status
- Default: id|description|actions|status
Các ví dụ:
- Danh sách kích hoạt các bộ lọc công cộng
- api.php?action=query&list=abusefilters&abfshow=enabled|!private [open in sandbox]
- Hiện một số chi tiết về các bộ lọc
- api.php?action=query&list=abusefilters&abfprop=id|description|pattern [open in sandbox]