MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=changeauthenticationdata (changeauth)
(main | changeauthenticationdata)
- Este módulo requiere permisos de lectura.
- Este módulo requiere permisos de escritura.
- Este módulo solo acepta solicitudes POST.
- Fuente: MediaWiki
- Licencia: GPL-2.0+
Change authentication data for the current user.
Parámetros:
- changeauthrequest
Use this authentication request, by the id returned from action=query&meta=authmanagerinfo with amirequestsfor=change.
- Este parámetro es obligatorio.
- changeauthtoken
A "csrf" token retrieved from action=query&meta=tokens
- Este parámetro es obligatorio.
- *
- This module accepts additional parameters depending on the available authentication requests. Use action=query&meta=authmanagerinfo with amirequestsfor=change (or a previous response from this module, if applicable) to determine the requests available and the fields that they use.
Ejemplo:
- Attempt to change the current user's password to ExamplePassword.
- api.php?action=changeauthenticationdata&changeauthrequest=MediaWiki%5CAuth%5CPasswordAuthenticationRequest&password=ExamplePassword&retype=ExamplePassword&changeauthtoken=123ABC [open in sandbox]