MediaWiki API ヘルプ

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

説明文書と例: https://www.mediawiki.org/wiki/API

list=allusers (au)

(main | query | allusers)
  • このモジュールは読み取りの権限を必要とします。
  • Source: MediaWiki
  • License: GPL-2.0+

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

パラメーター:
aufrom

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

auto

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

auprefix

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

audir

並べ替えの方向。

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

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

値 (|もしくは別の文字列で区切る): botsysopbureaucrat
auexcludegroup

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

値 (|もしくは別の文字列で区切る): botsysopbureaucrat
aurights

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

値 (|もしくは別の文字列で区切る): apihighlimitsapplychangetagsautoconfirmedautocreateaccountautopatrolbigdeleteblockblockemailbotbrowsearchivechangetagscreateaccountcreatepagecreatetalkdeletedeletechangetagsdeletedhistorydeletedtextdeletelogentrydeleterevisionediteditcontentmodeleditinterfaceeditprotectededitmyoptionseditmyprivateinfoeditmyusercsseditmyuserjseditmywatchlisteditsemiprotectededitusercssedituserjshideuserimportimportuploadipblock-exemptmanagechangetagsmarkboteditsmergehistoryminoreditmovemovefilemove-categorypagesmove-rootuserpagesmove-subpagesnominornewtalknoratelimitoverride-export-depthpagelangpatrolpatrolmarksprotectpurgereadreuploadreupload-ownreupload-sharedrollbacksendemailsiteadminsuppressionlogsuppressredirectsuppressrevisionunblockselfundeleteunwatchedpagesuploadupload_by_urluserrightsuserrights-interwikiviewmyprivateinfoviewmywatchlistviewsuppressedwriteapiskipcaptcha
値の最大値は 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.
値 (|もしくは別の文字列で区切る): blockinfogroupsimplicitgroupsrightseditcountregistrationcentralids
aulimit

返す利用者名の総数。

No more than 500 (5,000 for bots) allowed.
Type: integer or max
既定値: 10
auwitheditsonly

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

Type: boolean (details)
auactiveusers

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

Type: boolean (details)
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 [サンドボックスで開く]