MediaWiki API hulp
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)
- Bron: MediaWiki
- Licentie: GPL-2.0-or-later
Haal informatie op over de huidige authentificatiestatus.
Specifieke parameters:
Other general parameters are available.
- 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.
- Een van de volgende waarden: change, create, create-continue, link, link-continue, login, login-continue, remove, unlink
- amimergerequestfields
Merge field information for all authentication requests into one array.
- Type: boolean (details)
- amimessageformat
Format to use for returning messages.
- Een van de volgende waarden: html, none, raw, wikitext
- Standaard: wikitext
Voorbeelden:
- Fetch the requests that may be used when beginning a login.
- api.php?action=query&meta=authmanagerinfo&amirequestsfor=login [in de sandbox openen]
- 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 [in de sandbox openen]
- Test whether authentication is sufficient for action foo.
- api.php?action=query&meta=authmanagerinfo&amisecuritysensitiveoperation=foo [in de sandbox openen]