MediaWiki API 說明

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

list=allusers (au)

(main | query | allusers)

列舉所有已註冊使用者。

具體參數:
其他通用參數可用。
aufrom

起始列舉的使用者名稱。

auto

終止列舉的使用者名稱。

auprefix

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

audir

排序的方向。

單值:ascending、descending
預設值:ascending
augroup

只包含指定組中的使用者。不包含隱性或自動提升的使用者群組,例如*、使用者或自動確認使用者。

多值 (以 | 或 alternative 分隔):bot、bureaucrat、interface-admin、suppress、sysop
auexcludegroup

排除指定群組中的使用者

多值 (以 | 或 alternative 分隔):bot、bureaucrat、interface-admin、suppress、sysop
aurights

僅包含有指定權限的使用者。不包含透過由隱含或是自動晉升群組所授予的權限,像是:*、使用者、或是自動確認。

多值 (以 | 或 alternative 分隔):abusefilter-access-protected-vars、abusefilter-blocked-external-domains-log、abusefilter-bypass-blocked-external-domains、abusefilter-hidden-log、abusefilter-hide-log、abusefilter-log、abusefilter-log-detail、abusefilter-log-private、abusefilter-modify、abusefilter-modify-blocked-external-domains、abusefilter-modify-global、abusefilter-modify-restricted、abusefilter-privatedetails、abusefilter-privatedetails-log、abusefilter-protected-vars-log、abusefilter-revert、abusefilter-view、abusefilter-view-private、apihighlimits、applychangetags、autoconfirmed、autocreateaccount、autopatrol、badcaptcha、badoath、bigdelete、block、blockemail、bot、browsearchive、changeemail、changetags、confirmemail、createaccount、createpage、createtalk、createwithcontentmodel、delete、delete-redirect、deletechangetags、deletedhistory、deletedtext、deletelogentry、deleterevision、disableoath、edit、editcontentmodel、editinterface、editmyoptions、editmyprivateinfo、editmyusercss、editmyuserjs、editmyuserjson、editmyuserjsredirect、editmywatchlist、editprotected、editsemiprotected、editsitecss、editsitejs、editsitejson、editusercss、edituserjs、edituserjson、hideuser、ignore-restricted-groups、import、importupload、interwiki、ipblock-exempt、linkpurge、logentryimport、mailpassword、managechangetags、markbotedits、mergehistory、minoredit、move、move-categorypages、move-rootuserpages、move-subpages、movefile、nominornewtalk、noratelimit、nuke、oathauth-disable-for-user、oathauth-enable、oathauth-recover-for-user、oathauth-verify-user、oathauth-view-log、override-export-depth、pagelang、patrol、patrolmarks、protect、purge、read、recover-2fa、renameuser、renameuser-global、renderfile、renderfile-nonstandard、reupload、reupload-own、reupload-shared、rollback、sboverride、sendemail、siteadmin、skipcaptcha、spamblacklistlog、stashbasehtml、stashedit、suppressionlog、suppressredirect、suppressrevision、unblockself、undelete、unwatchedpages、upload、upload_by_url、userrights、userrights-interwiki、verify-2fa、viewmyprivateinfo、viewmywatchlist、viewsuppressed
值的最大數目為 50(用於客戶端允許的較高限制為 500)。
auprop

要包含的資訊部份:

blockinfo
添加有關使用者目前封鎖的資訊。
groups
列出使用者所在的群組。這會使用到較多伺服器資源,並且可能會回傳少於限制條件的結果。
implicitgroups
列出使用者自動列入的所有群組。
rights
列出使用者所擁有的權限。
editcount
添加使用者的編輯次數。
registration
若可能的話,添加當使用者註冊時的時間戳記(可能為空白)。
centralids
替使用者添加中心 ID 與附加狀態。
tempexpired
指示臨時帳號是否已過期。如果帳號不是臨時帳號,則回傳 null。
多值 (以 | 或 alternative 分隔):blockinfo、centralids、editcount、groups、implicitgroups、registration、rights、tempexpired
aulimit

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

類型:整數或max
數值必須在 1 與 500 之間。
預設值:10
auwitheditsonly

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

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

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

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

與 auprop=centralids 使用,另外表明使用者是否附加於由此 ID 所識別出的 wiki。

auexcludenamed

排除指名帳號的使用者。

類型:布林值(詳細資訊)
auexcludetemp

排除臨時帳號的使用者。

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