미디어위키 API 도움말

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

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

meta=authmanagerinfo (ami)

(main | query | authmanagerinfo)

Retrieve information about the current authentication status.

변수:
amisecuritysensitiveoperation

Test whether the user's current authentication status is sufficient for the specified security-sensitive operation.

amirequestsfor

Fetch information about the authentication requests needed for the specified authentication action.

하나의 값: login, login-continue, create, create-continue, link, link-continue, change, remove, unlink
amimergerequestfields

Merge field information for all authentication requests into one array.

유형: 부울 (자세한 정보)
amimessageformat

Format to use for returning messages.

하나의 값: html, wikitext, raw, none
기본값: wikitext
예시:
Fetch the requests that may be used when beginning a login.
api.php?action=query&meta=authmanagerinfo&amirequestsfor=login [open in sandbox]
Fetch the requests that may be used when beginning a login, with form fields merged.
api.php?action=query&meta=authmanagerinfo&amirequestsfor=login&amimergerequestfields=1 [open in sandbox]
Test whether authentication is sufficient for action foo.
api.php?action=query&meta=authmanagerinfo&amisecuritysensitiveoperation=foo [open in sandbox]