MediaWiki API 帮助

这是自动生成的MediaWiki API文档页面。

文档和例子:-{R|https://www.mediawiki.org/wiki/API:Main_page/zh}-

list=allusers (au)

main | query | allusers
  • 此模块需要读取权限。
  • 来源:MediaWiki
  • 许可协议:GPL-2.0+

列举所有注册用户。

参数:
aufrom

枚举的起始用户名。

auto

枚举的结束用户名。

auprefix

搜索所有以此值开头的用户。

audir

排序方向。

以下值中的一个:ascending、descending
默认:ascending
augroup

只包含指定组中的用户。

值(以|分隔):bot、sysop、bureaucrat
auexcludegroup

排除指定组中的用户。

值(以|分隔):bot、sysop、bureaucrat
aurights

仅列出有所选权限的用户。不包括隐性的或自动加入的用户组别(如*、用户或自动确认用户)所授予的权限。

值(以|分隔):apihighlimits、applychangetags、autoconfirmed、autocreateaccount、autopatrol、bigdelete、block、blockemail、bot、browsearchive、changetags、createaccount、createpage、createtalk、delete、deletedhistory、deletedtext、deletelogentry、deleterevision、edit、editcontentmodel、editinterface、editprotected、editmyoptions、editmyprivateinfo、editmyusercss、editmyuserjs、editmywatchlist、editsemiprotected、editusercssjs、editusercss、edituserjs、hideuser、import、importupload、ipblock-exempt、managechangetags、markbotedits、mergehistory、minoredit、move、movefile、move-categorypages、move-rootuserpages、move-subpages、nominornewtalk、noratelimit、override-export-depth、pagelang、passwordreset、patrol、patrolmarks、protect、purge、read、reupload、reupload-own、reupload-shared、rollback、sendemail、siteadmin、suppressionlog、suppressredirect、suppressrevision、unblockself、undelete、unwatchedpages、upload、upload_by_url、userrights、userrights-interwiki、viewmyprivateinfo、viewmywatchlist、viewsuppressed、writeapi、usermerge、replacetext、nuke、abusefilter-modify、abusefilter-log-detail、abusefilter-view、abusefilter-log、abusefilter-private、abusefilter-modify-restricted、abusefilter-revert、abusefilter-view-private、abusefilter-log-private、abusefilter-hidden-log、abusefilter-hide-log、abusefilter-modify-global、editalluserpages、interwiki、geocode
值的最高数字是50(对于机器人则是500)。
auprop

要包含的信息束:

blockinfo
添加有关用户当前封禁的信息。
groups
列举用户所在的组。这使用更多服务器资源,并可能返回少于限制的结果。
implicitgroups
列出用户自动属于的所有组。
rights
用户拥有的权限列表。
editcount
添加用户的编辑计数。
registration
如果可能,添加用户注册时的时间戳(可能为空白)。
centralids
添加中心ID并为用户附加状态。
值(以|分隔):blockinfo、groups、implicitgroups、rights、editcount、registration、centralids
aulimit

返回的总计用户数。

不允许超过500个(对于机器人则是5,000个)。
类型:整数或max
默认:10
auwitheditsonly

只列出有编辑的用户。

类型:布尔值(详细信息
auactiveusers

只列出最近30天内活跃的用户。

类型:布尔值(详细信息
auattachedwiki

auprop=centralids一起使用,也表明用户是否附加于此ID定义的wiki。