미디어위키 API 도움말

이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.

설명 문서 및 예시: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

meta=userinfo (ui)

(main | query | userinfo)
  • 이 모듈은 read 권한을 요구합니다.
  • 출처: MediaWiki
  • 라이선스: GPL-2.0-or-later

현재 사용자의 정보를 가져옵니다.

변수:
uiprop

포함할 정보:

blockinfo
현재 사용자가 차단되면 누구에 의해 무슨 이유로 차단되었는지 태그합니다.
hasmsg
현재 사용자가 대기 중인 메시지가 있다면 messages 태그를 추가합니다.
groups
현재 사용자가 소속된 모든 그룹을 나열합니다.
groupmemberships
Lists groups that the current user has been explicitly assigned to, including the expiry date of each group membership.
implicitgroups
현재 사용자가 자동으로 소속된 모든 그룹을 나열합니다.
rights
현재 사용자가 가진 모든 권한을 나열합니다.
changeablegroups
현재 사용자가 추가 및 제거할 수 있는 그룹을 나열합니다.
options
현재 사용자가 설정한 모든 설정을 나열합니다.
editcount
현재 사용자의 편집 수를 추가합니다.
ratelimits
Lists all rate limits applying to the current user.
theoreticalratelimits
Lists all rate limits that would apply to the current user if they were not exempt from all ratelimits based on user rights or ip
email
사용자의 이메일 주소와 이메일 인증 날짜를 추가합니다.
realname
사용자의 실명을 추가합니다.
acceptlang
Echoes the Accept-Language header sent by the client in a structured format.
registrationdate
사용자의 등록 날짜를 추가합니다.
unreadcount
Adds the count of unread pages on the user's watchlist (maximum 999; returns 1000+ if more).
centralids
Adds the central IDs and attachment status for the user.
latestcontrib
Adds the date of user's latest contribution.
값 (|로 구분): acceptlang, blockinfo, centralids, changeablegroups, editcount, email, groupmemberships, groups, hasmsg, implicitgroups, latestcontrib, options, ratelimits, realname, registrationdate, rights, theoreticalratelimits, unreadcount 또는 다른 문자열: acceptlang, blockinfo, centralids, changeablegroups, editcount, email, groupmemberships, groups, hasmsg, implicitgroups, latestcontrib, options, ratelimits, realname, registrationdate, rights, theoreticalratelimits, unreadcount
모든 값을 지정하려면, *를 사용하십시오.
uiattachedwiki

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

예시:
현재 사용자의 정보를 가져옵니다.
api.php?action=query&meta=userinfo [연습장에서 열기]
현재 사용자의 추가 정보를 가져옵니다.
api.php?action=query&meta=userinfo&uiprop=blockinfo|groups|rights|hasmsg [연습장에서 열기]