MediaWiki API súgó
Ez egy automatikusan generált MediaWiki-API-dokumentációs lap.
Dokumentáció és példák: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
meta=globaluserinfo (gui)
- Ez a modul olvasási jogot igényel.
- Forrás: CentralAuth
- Licenc: GPL-2.0-or-later
Show information about a global user.
Jellemző paraméterek:
Other general parameters are available.
- guiuser
User to get information about. If guiuser and guiid both are omitted, it defaults to the current user.
- Típus: felhasználó, a következők egyikével megadva: felhasználónév és interwiki név (pl. „előtag>MintaNév”)
- guiid
Global user ID to get information about. If guiuser and guiid both are omitted, it defaults to the current user.
- Típus: egész szám
- guiprop
Which properties to get:
- groups
- Get a list of global groups this user belongs to.
- rights
- Get a list of global rights this user has.
- merged
- Get a list of merged accounts.
- unattached
- Get a list of unattached accounts.
- editcount
- Get the user's global edit count.
- Értékek (elválasztó: | vagy más): editcount, groups, merged, rights, unattached
Példák:
- Get information about the current global user
- api.php?action=query&meta=globaluserinfo [megnyitás a homokozóban]
- Get information about global user Example
- api.php?action=query&meta=globaluserinfo&guiuser=Example&guiprop=groups|merged|unattached [megnyitás a homokozóban]