MedijaViki API pagalba

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

list=blocks (bk)

(main | query | blocks)
  • This module requires read rights.
  • Šaltinis: MediaWiki
  • Licencija: GPL-2.0-or-later

Nurodyti visus užblokuotus vartotojus ir IP adresus.

Parametrai:
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.
One of the following values: newer, older
Numatytasis: 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 bots).
bkusers

List of users to search for (optional).

Type: list of user names
Separate values with | or alternative. Maximum number of values is 50 (500 for bots).
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

Maksimalus nurodomų blokavimų skaičius.

Leidžiama ne daugiau nei 500 (5 000 robotams).
Type: integer or max
Numatytasis: 10
bkprop

Which properties to get:

id
Prideda bloko ID.
user
Prideda užblokuoto vartotojo vardą.
userid
Prideda užblokuoto vartotojo ID.
by
Prideda užblokuoto vartotojo vardą.
byid
Prideda užblokuoto vartotojo ID.
timestamp
Prideda blokavimo laiko žymę.
expiry
Prideda blokavimo pabaigos laiko žymes.
reason
Prideda blokavimo priežastį.
range
Prideda blokavimo paveiktų IP adresų diapazoną.
flags
Tags the ban with (autoblock, anononly, etc.).
Values (separate with | or alternative): id, user, userid, by, byid, timestamp, expiry, reason, range, flags
Numatytasis: 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, !account, temp, !temp, ip, !ip, range, !range
bkcontinue

When more results are available, use this to continue.