MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
meta=authmanagerinfo (ami)
- ソース: MediaWiki
- ライセンス: GPL-2.0-or-later
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.
- 値 (次の値のいずれか1つ): change、create、create-continue、link、link-continue、login、login-continue、remove、unlink
- amimergerequestfields
Merge field information for all authentication requests into one array.
- 型: 真偽値 (詳細)
- amimessageformat
Format to use for returning messages.
- 値 (次の値のいずれか1つ): html、none、raw、wikitext
- Default: wikitext
例:
- Fetch the requests that may be used when beginning a login.
- api.php?action=query&meta=authmanagerinfo&amirequestsfor=login [サンドボックスで開く]
- 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 [サンドボックスで開く]
- Test whether authentication is sufficient for action foo.
- api.php?action=query&meta=authmanagerinfo&amisecuritysensitiveoperation=foo [サンドボックスで開く]