Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentační stránka k MediaWiki API.
Dokumentace a příklady: https://www.mediawiki.org/wiki/API
meta=authmanagerinfo (ami)
- Zdroj: MediaWiki
 - Licence: GPL-2.0-or-later
 
Retrieve information about the current authentication status.
Parametry:
- 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.
- Jedna z následujících hodnot: login, login-continue, create, create-continue, link, link-continue, change, remove, unlink
 - amimergerequestfields
 Merge field information for all authentication requests into one array.
- Typ: boolean (podrobnosti)
 - amimessageformat
 Format to use for returning messages.
- Jedna z následujících hodnot: html, wikitext, raw, none
 - Implicitní hodnota: wikitext
 
Příklady:
- Fetch the requests that may be used when beginning a login.
 - api.php?action=query&meta=authmanagerinfo&amirequestsfor=login [otevřít v pískovišti]
 - 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 [otevřít v pískovišti]
 - Test whether authentication is sufficient for action foo.
 - api.php?action=query&meta=authmanagerinfo&amisecuritysensitiveoperation=foo [otevřít v pískovišti]