MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
meta=authmanagerinfo (ami)
- Kilde: MediaWiki
- Lisens: GPL-2.0-or-later
Hent informasjon om den gjeldende autentiseringsstatusen.
Parametre:
- 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.
- Én av følgende verdier: login, login-continue, create, create-continue, link, link-continue, change, remove, unlink
- amimergerequestfields
Merge field information for all authentication requests into one array.
- Type: boolsk verdi (detaljer)
- amimessageformat
Format to use for returning messages.
- Én av følgende verdier: html, wikitext, raw, none
- Standard: wikitext
Eksempler:
- Fetch the requests that may be used when beginning a login.
- api.php?action=query&meta=authmanagerinfo&amirequestsfor=login [åpne i sandkasse]
- 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 [åpne i sandkasse]
- Test whether authentication is sufficient for action foo.
- api.php?action=query&meta=authmanagerinfo&amisecuritysensitiveoperation=foo [åpne i sandkasse]