MediaWiki API hulp
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)
- Voor deze module zijn leesrechten nodig.
- Bron: MediaWiki
- Licentie: GPL-2.0-or-later
Toon alle geblokkeerde gebruikers en IP-adressen.
- bkstart
The timestamp to start enumerating from.
- Type: timestamp (allowed formats)
- bkend
The timestamp to stop enumerating at.
- 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.
- Een van de volgende waarden: 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 50 (500 for clients allowed higher limits).
- bkusers
List of users to search for (optional).
- Type: lijst van gebruikers, met een van gebruikersnaam, IP-adres en IP bereik
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients 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
Het maximale aantal te tonen blokkades.
- Type: geheel getal of max
- The value must be between 1 and 500.
- Default: 10
- bkprop
Which properties to get:
- id
- Voegt de blokkade-ID toe.
- user
- Voegt de gebruikersnaam van de geblokkeerde gebruiker toe.
- userid
- Voegt de gebruikers-ID van de geblokkeerde gebruiker toe.
- by
- Adds the username of the blocking user.
- byid
- Adds the user ID of the blocking user.
- timestamp
- Adds the timestamp of when the block was given.
- expiry
- Adds the timestamp of when the block expires.
- reason
- Adds the reason given for the block.
- range
- Adds the range of IP addresses affected by the block.
- flags
- Labelt de blokkade met (automatische blokkade, alleen anoniem, enzovoort).
- restrictions
- Adds the partial block restrictions if the block is not sitewide.
- Waarden (gescheiden met | of alternatief): by, byid, expiry, flags, id, 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.
- Waarden (gescheiden met | of alternatief): !account, !ip, !range, !temp, account, ip, range, temp
- bkcontinue
When more results are available, use this to continue.
- Toon blokkades.
- api.php?action=query&list=blocks [open in de zandbak]
- Toon blokkades van gebruikers Alice en Bob.
- api.php?action=query&list=blocks&bkusers=Alice|Bob [open in de zandbak]