MediaWiki API 說明
此頁為自動產生的 MediaWiki API 說明文件頁面。
說明文件與範例:https://www.mediawiki.org/wiki/API
list=users <pre>(us) </pre>
- 此模組需要讀取權限。
- 来源:MediaWiki
- 许可协议:GPL-2.0+
获取有关列出用户的信息。
參數:
- usprop
要包含的信息束:
- blockinfo
- 如果用户被封禁就标记,并注明是谁封禁,以何种原因封禁的。
- groups
- 列举每位用户属于的所有组。
- implicitgroups
- Lists all the groups a user is automatically a member of.
- rights
- 列举每位用户拥有的所有权限。
- editcount
- 添加用户的编辑计数。
- registration
- 添加用户的注册时间戳。
- emailable
- Tags if the user can and wants to receive email through Special:Emailuser.
- gender
- 标记用户性别。返回“male”、“female”或“unknown”。
- centralids
- 添加中心ID并为用户附加状态。
- cancreate
- 表明是否可以为有效但尚未注册的用户名创建一个账户。
- 多值 (以 | 分隔):blockinfo,groups,implicitgroups,rights,editcount,registration,emailable,gender,centralids,cancreate
- usattachedwiki
与usprop=centralids一起使用,表明用户是否附加于此ID定义的wiki。
- ususers
要获取信息的用户列表。
- 使用 | 分隔數值。 上限值為 50 (機器人為 500)。
- ustoken
- 已停用。
- 多值 (以 | 分隔):userrights