Pomoc MediaWiki API

To jest automatycznie wygenerowana strona dokumentacji MediaWiki API. Dokumentacja i przykłady: https://www.mediawiki.org/wiki/API

list=users (us)

(main | query | users)

Pobierz informacje o liście użytkowników.

Parametry:
usprop

Jakie informacje dołączyć:

blockinfo
Tags if the user is blocked, by whom, and for what reason.
groups
Wyświetla wszystkie grupy, do których należy każdy z użytkowników.
groupmemberships
Lists groups that each user has been explicitly assigned to, including the expiry date of each group membership.
implicitgroups
Lists all the groups a user is automatically a member of.
rights
Wyświetla wszystkie uprawnienia, które ma każdy z użytkowników.
editcount
Adds the user's edit count.
registration
Adds the user's registration timestamp.
emailable
Tags if the user can and wants to receive email through Special:Emailuser.
gender
Tags the gender of the user. Returns "male", "female", or "unknown".
centralids
Adds the central IDs and attachment status for the user.
cancreate
Indicates whether an account for valid but unregistered usernames can be created.
Wartości (oddziel za pomocą | lub alternatywy): blockinfo, groups, groupmemberships, implicitgroups, rights, editcount, registration, emailable, gender, centralids, cancreate
usattachedwiki

With usprop=centralids, indicate whether the user is attached with the wiki identified by this ID.

ususers

Lista użytkowników, o których chcesz pobrać informacje.

Oddziel wartości za pomocą | lub alternatywy. Maksymalna liczba wartości to 50 (500 dla botów).
ususerids

A list of user IDs to obtain information for.

Typ: lista liczb całkowitych
Oddziel wartości za pomocą | lub alternatywy. Maksymalna liczba wartości to 50 (500 dla botów).
ustoken
Przestarzałe.

Use action=query&meta=tokens instead.

Wartości (oddziel za pomocą | lub alternatywy): userrights