MediaWiki API ヘルプ

このページは自動生成された MediaWiki API の説明文書ページです。

説明文書と例: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-

list=allusers (au)

(main | query | allusers)
  • このモジュールは読み取りの権限を必要とします。
  • ソース: MediaWiki
  • ライセンス: GPL-2.0-or-later

すべての登録利用者を一覧表示します。

パラメーター:
Other general parameters are available.
aufrom

列挙を開始する利用者名。

auto

列挙を終了する利用者名。

auprefix

この値で始まるすべての利用者を検索する。

audir

並べ替えの方向。

値 (次の値のいずれか1つ): ascending, descending
既定: ascending
augroup

このグループに所属する利用者のみを結果に含める。

値 (| または別の文字列で区切る): bot, bureaucrat, interface-admin, push-subscription-manager, suppress, sysop
auexcludegroup

このグループに所属する利用者を結果から除外する。

値 (| または別の文字列で区切る): bot, bureaucrat, interface-admin, push-subscription-manager, suppress, sysop
aurights

Only include users with the given rights. Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed.

値 (| または別の文字列で区切る): 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-revert, abusefilter-view, abusefilter-view-private, apihighlimits, applychangetags, autoconfirmed, autocreateaccount, autopatrol, bigdelete, block, blockemail, bot, browsearchive, changetags, createaccount, createpage, createtalk, delete, delete-redirect, deletechangetags, deletedhistory, deletedtext, deletelogentry, deleterevision, edit, editcontentmodel, editinterface, editmyoptions, editmyprivateinfo, editmyusercss, editmyuserjs, editmyuserjson, editmyuserjsredirect, editmywatchlist, editprotected, editsemiprotected, editsitecss, editsitejs, editsitejson, editusercss, edituserjs, edituserjson, gadgets-definition-edit, gadgets-edit, hideuser, import, importupload, interwiki, ipblock-exempt, manage-all-push-subscriptions, managechangetags, markbotedits, mergehistory, minoredit, move, move-categorypages, move-rootuserpages, move-subpages, movefile, nominornewtalk, noratelimit, nuke, oathauth-api-all, oathauth-disable-for-user, oathauth-enable, oathauth-verify-user, oathauth-view-log, override-export-depth, pagelang, patrol, patrolmarks, protect, read, renameuser, replacetext, reupload, reupload-own, reupload-shared, rollback, sboverride, sendemail, siteadmin, skipcaptcha, spamblacklistlog, suppressionlog, suppressredirect, suppressrevision, tboverride, tboverride-account, titleblacklistlog, unblockself, undelete, unwatchedpages, upload, upload_by_url, userrights, userrights-interwiki, viewmyprivateinfo, viewmywatchlist, viewsuppressed, writeapi
値の最大値は 50(緩い制限が適用されるクライアントでは500)です。
auprop

どの情報を結果に含めるか:

blockinfo
利用者に対する現在のブロックに関する情報を追加します。
groups
利用者が所属する利用者グループを一覧表示します。これはサーバー資源を多めに使用するので、返る結果が制限値より少なくなります。
implicitgroups
Lists all the groups the user is automatically in.
rights
利用者が持っている権限を一覧表示します。
editcount
利用者の編集回数を追加します。
registration
可能な場合、利用者の登録日時のタイムスタンプを追加します (空白になるかもしれません)。
centralids
Adds the central IDs and attachment status for the user.
値 (| または別の文字列で区切る): blockinfo, centralids, editcount, groups, implicitgroups, registration, rights
aulimit

返す利用者名の総数。

型: 整数または max
値は1以上500以下です。
既定: 10
auwitheditsonly

編集履歴のある利用者のみ一覧表示する。

型: 真偽値 (詳細)
auactiveusers

最近 30 日間のアクティブな利用者のみを一覧表示する。

型: 真偽値 (詳細)
auattachedwiki

With auprop=centralids, also indicate whether the user is attached with the wiki identified by this ID.

例:
Y で始まる利用者を一覧表示する。
api.php?action=query&list=allusers&aufrom=Y [サンドボックスで開く]