MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=login (lg)

(main | login)
  • This module requires write rights.
  • This module only accepts POST requests.
  • Iturria: MediaWiki
  • Lizentzia: GPL-2.0-or-later

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.

Parametroak:
Other general parameters are available.
lgname

Erabiltzaile izena.

lgpassword

Pasahitza.

lgdomain

Domeinua (hautazkoa).

lgtoken

A "login" token retrieved from action=query&meta=tokens