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)
  • 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.

Параметры:
lgname

Имя участника.

lgpassword

Пароль.

lgdomain

Домен (необязательно).

lgtoken

Login token obtained in first request.