MediaWiki-API-Hilfe
Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.
Dokumentation und Beispiele: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
meta=userinfo
(ui)
Dieses Modul erfordert Leserechte.
Quelle: MediaWiki
Lizenz: GPL-2.0-or-later
Get information about the current user.
- uiprop
 Which pieces of information to include:
- blockinfo
 - Markiert, ob der aktuelle Benutzer gesperrt ist, von wem und aus welchem Grund.
 
- hasmsg
 - Adds a tag messages if the current user has pending messages.
 
- groups
 - Lists all the groups the current user belongs to.
 
- 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
 - Lists all the rights the current user has.
 
- changeablegroups
 - Lists the groups the current user can add to and remove from.
 
- options
 - Listet alle Einstellungen auf, die der aktuelle Benutzer festgelegt hat.
 
- editcount
 - Ergänzt den Bearbeitungszähler des aktuellen Benutzers.
 
- 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
 
- Adds the user's email address and email authentication date.
 
- realname
 - Fügt den bürgerlichen Namen des Benutzers hinzu.
 
- acceptlang
 - Echoes the 
Accept-Languageheader sent by the client in a structured format. 
- registrationdate
 - Adds the user's registration date.
 
- 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
 - Ergänzt das Datum des letzten Benutzerbeitrags.
 
Werte (mit | trennen oder Alternative): acceptlang, blockinfo, centralids, changeablegroups, editcount, email, groupmemberships, groups, hasmsg, implicitgroups, latestcontrib, options, ratelimits, realname, registrationdate, rights, theoreticalratelimits, unreadcount
Um alle Werte anzugeben, verwende *.
- uiattachedwiki
 With uiprop=centralids, indicate whether the user is attached with the wiki identified by this ID.
Informationen über den aktuellen Benutzer abrufen
- api.php?action=query&meta=userinfo 
[in Spielwiese öffnen]
 Ruft zusätzliche Informationen über den aktuellen Benutzer ab.
- api.php?action=query&meta=userinfo&uiprop=blockinfo|groups|rights|hasmsg 
[in Spielwiese öffnen]