MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
meta=userinfo (ui)
- Questo modulo richiede i diritti di lettura.
 - Fonte: MediaWiki
 - Licenza: GPL-2.0-or-later
 
Ottieni informazioni sull'utente attuale.
Parametri specifici:
Sono disponibili altri parametri generali.
- uiprop
 Which pieces of information to include:
- blockinfo
 - Etichetta se l'utente attuale è bloccato, da chi e per quale motivo.
 - hasmsg
 - Aggiunge un'etichetta messages se l'utente attuale ha messaggi in attesa.
 - 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
 - Elenca tutti i gruppi di cui l'utente attuale è automaticamente membro.
 - rights
 - Lists all the rights the current user has.
 - changeablegroups
 - Elenca tutti i gruppi di cui l'utente attuale può essere aggiunto o rimosso.
 - options
 - Lists all preferences the current user has set.
 - editcount
 - Adds the current user's edit count.
 - 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
 - Aggiungi il nome reale dell'utente.
 - acceptlang
 - Echoes the 
Accept-Languageheader sent by the client in a structured format. - registrationdate
 - Aggiungi la data di registrazione dell'utente.
 - 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.
 
- Valori (separati da | o alternativa): acceptlang, blockinfo, cancreateaccount, centralids, changeablegroups, editcount, email, groupmemberships, groups, hasmsg, implicitgroups, latestcontrib, options, ratelimits, realname, registrationdate, rights, theoreticalratelimits, unreadcount
 - Per specificare tutti i valori, utilizza *.
 - uiattachedwiki
 With uiprop=centralids, indicate whether the user is attached with the wiki identified by this ID.
Esempi:
- Ottieni informazioni sull'utente attuale.
 - api.php?action=query&meta=userinfo [apri in una sandbox]
 - Get additional information about the current user.
 - api.php?action=query&meta=userinfo&uiprop=blockinfo|groups|rights|hasmsg [apri in una sandbox]