Помош со Извршникот на МедијаВики
Ова е самосоздадена документациска страница за извршникот на МедијаВики.
Документација и примери: https://www.mediawiki.org/wiki/API
list=users (us)
- За овој модул се потребни права на читање.
- Извор: MediaWiki
- Лиценца: GPL-2.0+
Get information about a list of users.
Параметри:
- usprop
Which pieces of information to include:
- blockinfo
- Tags if the user is blocked, by whom, and for what reason.
- groups
- Lists all the groups each user belongs to.
- groupmemberships
- Lists groups that each user has been explicitly assigned to, including the expiry date of each group membership.
- implicitgroups
- Lists all the groups a user is automatically a member of.
- rights
- Lists all the rights each user has.
- editcount
- Adds the user's edit count.
- registration
- Adds the user's registration timestamp.
- emailable
- Tags if the user can and wants to receive email through Special:Emailuser.
- gender
- Tags the gender of the user. Returns "male", "female", or "unknown".
- centralids
- Adds the central IDs and attachment status for the user.
- cancreate
- Indicates whether an account for valid but unregistered usernames can be created.
- Вредности (одделете ги со |): blockinfo, groups, groupmemberships, implicitgroups, rights, editcount, registration, emailable, gender, centralids, cancreate
- usattachedwiki
With usprop=centralids, indicate whether the user is attached with the wiki identified by this ID.
- ususers
A list of users to obtain information for.
- Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
- ususerids
A list of user IDs to obtain information for.
- Тип: список на цели броеви
- Одделувајте ги вредностите со |. Највеќе допуштени вредности: 50 (500 за ботови).
- ustoken
- Застарен.
Use action=query&meta=tokens instead.
- Вредности (одделете ги со |): userrights
Пример:
- Return information for user Example.
- api.php?action=query&list=users&ususers=Example&usprop=groups|editcount|gender [open in sandbox]