Pomoc API MediaWiki
To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.
Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
meta=userinfo (ui)
- Ten moduł wymaga praw odczytu.
 - Źródło: MediaWiki
 - Licencja: GPL-2.0-or-later
 
Pobierz informacje o aktualnym użytkowniku.
Parametry:
Other general parameters are available.
- uiprop
 Jakie informacje dołączyć:
- blockinfo
 - Tags if the current user is blocked, by whom, and for what reason.
 - hasmsg
 - Adds a tag messages if the current user has pending messages.
 - groups
 - Wyświetla wszystkie grupy, do których należy bieżący użytkownik.
 - groupmemberships
 - Lists groups that the current user has been explicitly assigned to, including the expiry date of each group membership.
 - implicitgroups
 - Lists all the groups the current user is automatically a member of.
 - rights
 - Wyświetla wszystkie uprawnienia, które ma bieżący użytkownik.
 - changeablegroups
 - Lists the groups the current user can add to and remove from.
 - options
 - Lists all preferences the current user has set.
 - editcount
 - Dodaje liczbę edycji bieżącego użytkownika.
 - ratelimits
 - Lists all rate limits applying to the current user.
 - theoreticalratelimits
 - Lists all rate limits that would apply to the current user if they were not exempt from all ratelimits based on user rights or ip
 - Dodaje adres e-mail użytkownika i datę jego potwierdzenia.
 - realname
 - Adds the user's real name.
 - acceptlang
 - Echoes the 
Accept-Languageheader sent by the client in a structured format. - registrationdate
 - Dodaje datę rejestracji użytkownika.
 - unreadcount
 - Adds the count of unread pages on the user's watchlist (maximum 999; returns 1000+ if more).
 - centralids
 - Adds the central IDs and attachment status for the user.
 - latestcontrib
 - Adds the date of user's latest contribution.
 - cancreateaccount
 - Indicates whether the user is allowed to create accounts. To check whether some specific account can be created, use action=query&list=users&usprop=cancreate.
 
- Wartości (oddziel za pomocą | lub alternatywy): acceptlang, blockinfo, cancreateaccount, centralids, changeablegroups, editcount, email, groupmemberships, groups, hasmsg, implicitgroups, latestcontrib, options, ratelimits, realname, registrationdate, rights, theoreticalratelimits, unreadcount
 - Aby wskazać wszystkie wartości, użyj *.
 - uiattachedwiki
 With uiprop=centralids, indicate whether the user is attached with the wiki identified by this ID.
Przykłady:
- Pobierz informacje o aktualnym użytkowniku.
 - api.php?action=query&meta=userinfo [otwórz w brudnopisie]
 - Pobierz dodatkowe informacje o aktualnym użytkowniku.
 - api.php?action=query&meta=userinfo&uiprop=blockinfo|groups|rights|hasmsg [otwórz w brudnopisie]