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)
- Questo modulo accetta solo richieste POST.
- Fonte: MediaWiki
- Licenza: GPL-2.0+
Log in and get authentication cookies.
This action should only be used in combination with Special:BotPasswords; use for main-account login is deprecated and may fail without warning. To safely log in to the main account, use action=clientlogin.
Parametri:
- lgname
Nome utente.
- lgpassword
Password.
- lgdomain
Dominio (opzionale).
- lgtoken
Un token "login" recuperato da action=query&meta=tokens
Esempi: