MediaWiki API 說明

此頁為自動產生的 MediaWiki API 說明文件頁面。

說明文件與範例:https://www.mediawiki.org/wiki/API

list=allusers (au)

main | query | allusers

列舉所有已註冊使用者。

參數:
aufrom

起始列舉的使用者名稱。

auto

終止列舉的使用者名稱。

auprefix

搜尋以此值為開頭的所有使用者。

audir

排序的方向。

單值:ascendingdescending
預設值:ascending
augroup

僅包含在指定群組的使用者。

多值 (以 |alternative 分隔):botsysopinterface-adminbureaucratemailconfirmed
auexcludegroup

排除指定群組中的使用者

多值 (以 |alternative 分隔):botsysopinterface-adminbureaucratemailconfirmed
aurights

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

多值 (以 |alternative 分隔):apihighlimitsapplychangetagsautoconfirmedautocreateaccountautopatrolbigdeleteblockblockemailbotbrowsearchivechangetagscreateaccountcreatepagecreatetalkdeletedeletechangetagsdeletedhistorydeletedtextdeletelogentrydeleterevisionediteditcontentmodeleditinterfaceeditprotectededitmyoptionseditmyprivateinfoeditmyusercsseditmyuserjsoneditmyuserjseditmywatchlisteditsemiprotectededitsitecsseditsitejsoneditsitejseditusercssedituserjsonedituserjshideuserimportimportuploadipblock-exemptmanagechangetagsmarkboteditsmergehistoryminoreditmovemovefilemove-categorypagesmove-rootuserpagesmove-subpagesnominornewtalknoratelimitoverride-export-depthpagelangpatrolpatrolmarksprotectpurgereadreuploadreupload-ownreupload-sharedrollbacksendemailsiteadminsuppressionlogsuppressredirectsuppressrevisionunblockselfundeleteunwatchedpagesuploadupload_by_urluserrightsuserrights-interwikiviewmyprivateinfoviewmywatchlistviewsuppressedwriteapinukedeletebatchdeletebatch-spoofskipcaptcharenameuser
上限值為 50 (機器人為 500)。
auprop

要包含的資訊部份:

blockinfo
添加有關使用者目前封鎖的資訊。
groups
列举用户所在的组。这使用更多服务器资源,并可能返回少于限制的结果。
implicitgroups
列出用户自动属于的所有组。
rights
列出使用者所擁有的權限。
editcount
添加使用者的編輯次數。
registration
如果可能,添加用户注册时的时间戳(可能为空白)。
centralids
添加中心ID并为用户附加状态。
多值 (以 |alternative 分隔):blockinfogroupsimplicitgroupsrightseditcountregistrationcentralids
aulimit

要回傳的使用者名稱總數。

不允許超過 500 (機器人為 5,000)。
類型:整數或max
預設值:10
auwitheditsonly

僅列出有做過編輯的使用者。

類型:布林值(詳細資訊
auactiveusers

僅列出在最近 30 天裡活躍的使用者。

類型:布林值(詳細資訊
auattachedwiki

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