MediaWiki API ヘルプ
ãã®ãã¼ã¸ã¯èªåçæããã MediaWiki API ã®èª¬æææ¸ãã¼ã¸ã§ãã
èª¬æææ¸ã¨ä¾: https://www.mediawiki.org/wiki/API
list=users (us)
- ãã®ã¢ã¸ã¥ã¼ã«ã¯èªã¿åãã®æ¨©éãå¿ è¦ã¨ãã¾ãã
- 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
ä¾:
- å©ç¨è Example ã®æ å ±ãè¿ãã
- api.php?action=query&list=users&ususers=Example&usprop=groups|editcount|gender [ãµã³ãããã¯ã¹ã§éã]