MediaWiki API ヘルプ

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

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

list=users (us)

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

利用者のリストについての情報を取得します。

パラメーター:
usprop

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

;blockinfo:Tags if the user is blocked, by whom, and for what reason.

;groups:Lists all the groups each user belongs to.

;groupmemberships:Lists groups that each user has been explicitly assigned to, including the expiry date of each group membership.

;implicitgroups:Lists all the groups a user is automatically a member of.

;rights:Lists all the rights each user has.

;editcount:Adds the user's edit count.

;registration:Adds the user's registration timestamp.

;emailable:Tags if the user can and wants to receive email through Special:Emailuser.

;gender:Tags the gender of the user. Returns "male", "female", or "unknown".

;centralids:Adds the central IDs and attachment status for the user.

;cancreate:Indicates whether an account for valid but unregistered usernames can be created.

値 (|もしくは別の文字列で区切る): blockinfo、groups、groupmemberships、implicitgroups、rights、editcount、registration、emailable、gender、centralids、cancreate
usattachedwiki

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

ususers

A list of users to obtain information for.

複数の値は | もしくは代わりの文字で区切ってください。 値の最大値は 50 (ボットの場合は 500) です。
ususerids

A list of user IDs to obtain information for.

Type: list of integers
複数の値は | もしくは代わりの文字で区切ってください。 値の最大値は 50 (ボットの場合は 500) です。
ustoken
廃止予定です。

代わりに action=query&meta=tokens を使用してください。

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