MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
meta=authmanagerinfo (ami)
- Source: MediaWiki
- License: GPL-2.0-or-later
Retrieve information about the current authentication status.
Specifični parametri:
Na voljo so tudi drugi splošni parametri.
- 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.
- One of the following values: change, create, create-continue, link, link-continue, login, login-continue, remove, unlink
- amimergerequestfields
Združitev informacij o poljih za vse avtentikacijske zahtevke v eno matriko.
- Type: boolean (details)
- amimessageformat
Oblikovanje za uporabo vrnjenih sporočl.
- One of the following values: html, none, raw, wikitext
- Privzeto: wikitext
Zgledi:
- 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]