Помоћ око Медијавикијевог API-ја
Ово је аутоматски генерисана документација за Медијавики API
Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-
meta=globaluserinfo (gui)
- This module requires read rights.
- Извор: CentralAuth
- Лиценца: GPL-2.0-or-later
Show information about a global user.
Специфични параметри:
Other general parameters are available.
- guiuser
User to get information about. If guiuser and guiid both are omitted, it defaults to the current user.
- Тип: корисник, по: корисничко име, Привремени корисник и међувики назив (нпр. „префикс>Пример”)
- guiid
Global user ID to get information about. If guiuser and guiid both are omitted, it defaults to the current user.
- Type: integer
- 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.
- Values (separate with | or alternative): editcount, groups, merged, rights, unattached
Примери:
- Get information about the current global user
- api.php?action=query&meta=globaluserinfo [open in sandbox]
- Get information about global user Example
- api.php?action=query&meta=globaluserinfo&guiuser=Example&guiprop=groups|merged|unattached [open in sandbox]