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=blocks (bk)
- This module requires read rights.
- Source: MediaWiki
- License: GPL-2.0-or-later
सर्व प्रतिबंधित सदस्यांची व अंकपत्त्यांची यादी करा.
- bkstart
च्यापासून प्रगणना सुरु करावयाची त्याचा वेळठसा.
- Type: timestamp (allowed formats)
- bkend
कुठपर्यंत प्रगणना संपवायची त्याचा वेळठसा.
- Type: timestamp (allowed formats)
- bkdir
In which direction to enumerate:
- newer
- List oldest first. Note: bkstart has to be before bkend.
- older
- List newest first (default). Note: bkstart has to be later than bkend.
- One of the following values: newer, older
- Default: older
- bkids
List of block IDs to list (optional).
- Type: list of integers
- Separate values with | or alternative.
- Maximum number of values is ५० (५०० for clients that are allowed higher limits).
- bkusers
List of users to search for (optional).
- Type: list of users, by any of username, IP, Temporary user आणि IP range
- Separate values with | or alternative.
- Maximum number of values is ५० (५०० for clients that are allowed higher limits).
- bkip
Get all blocks applying to this IP address or CIDR range, including range blocks. Cannot be used together with bkusers. CIDR ranges broader than IPv4/16 or IPv6/19 are not accepted.
- bklimit
The maximum number of blocks to list.
- Type: integer or max
- The value must be between १ and ५००.
- Default: 10
- bkprop
Which properties to get:
- id
- Adds the ID of the block.
- user
- प्रतिबंधित सदस्याचे सदस्यनाव जोडते.
- userid
- प्रतिबंधित सदस्याची सदस्यओळखण जोडते.
- by
- प्रतिबंधन करणाऱ्या सदस्याचे सदस्यनाव जोडते.
- byid
- प्रतिबंधन करणाऱ्या सदस्याची सदस्यओळखण जोडते.
- timestamp
- प्रतिबंधन केंव्हा केले त्याचा वेळठसा जोडते.
- expiry
- प्रतिबंधनाची मुदत केंव्हा संपते त्याचा वेळठसा.
- reason
- प्रतिबंधनाची दिलेली कारणे जोडते.
- parsedreason
- Adds the parsed reason given for the block.
- range
- प्रतिबंधनाने बाधित अंकपत्त्यांचा आवाका जोडते.
- flags
- Tags the ban with (autoblock, anononly, etc.).
- restrictions
- Adds the partial block restrictions if the block is not sitewide.
- Values (separate with | or alternative): by, byid, expiry, flags, id, parsedreason, range, reason, restrictions, timestamp, user, userid
- Default: id|user|by|timestamp|expiry|reason|flags
- bkshow
Show only items that meet these criteria. For example, to see only indefinite blocks on IP addresses, set bkshow=ip|!temp.
- Values (separate with | or alternative): !account, !ip, !range, !temp, account, ip, range, temp
- bkcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- प्रतिबंधनाची यादी करा.
- api.php?action=query&list=blocks [open in sandbox]
- सदस्यअलिस व बॉब या सदस्यांचे प्रतिबंधनाची यादी करा.
- api.php?action=query&list=blocks&bkusers=Alice|Bob [open in sandbox]