MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=login (lg)
(main | login)
- Este módulo solo acepta solicitudes POST.
Log in and get authentication cookies.
In the event of a successful log-in, the needed cookies will be included in the HTTP response headers. In the event of a failed log-in, further attempts may be throttled to limit automated password guessing attacks.
Parámetros:
- lgname
Nombre de usuario.
- lgpassword
Contraseña.
- lgdomain
Dominio (opcional).
- lgtoken
Login token obtained in first request.
Ejemplos:
- Retrieve a login token.
- api.php?action=login&lgname=user&lgpassword=password
- Acceder
- api.php?action=login&lgname=user&lgpassword=password&lgtoken=123ABC