미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/API
list=users (us)
- 이 모듈은 read 권한을 요구합니다.
 - 출처: MediaWiki
 - 라이선스: 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
 - 사용자의 편집 수를 추가합니다.
 - registration
 - 사용자의 등록 타임스탬프를 추가합니다.
 - 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, cancreate, centralids, editcount, emailable, gender, groupmemberships, groups, implicitgroups, registration, rights 또는 다른 문자열: blockinfo, cancreate, centralids, editcount, emailable, gender, groupmemberships, groups, implicitgroups, registration, rights
 - 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.
- | 또는 대안으로 값을 구분합니다.
 - Maximum number of values is 50 (500 for clients allowed higher limits).
 - ususerids
 정보를 가져올 사용자 ID의 목록입니다.
- Type: list of integers
 - | 또는 대안으로 값을 구분합니다.
 - Maximum number of values is 50 (500 for clients allowed higher limits).
 - ustoken
 - 구식입니다.
 action=query&meta=tokens을 대신 사용하십시오.
- 값 (|로 구분): userrights 또는 다른 문자열: userrights
 
예시:
- 사용자 Example의 정보를 반환합니다.
 - api.php?action=query&list=users&ususers=Example&usprop=groups|editcount|gender [연습장에서 열기]