Ajuda API da MediaWiki
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=login (lg)
(main | login)
- This module only accepts POST requests.
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
Nome de utilizador(a).
- lgpassword
Palavra-passe.
- lgdomain
Domínio (opcional).
- lgtoken
Login token obtained in first request.
Exemplos: