Справка MediaWiki API

This is an auto-generated MediaWiki API documentation page.

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

action=login (lg)

(main | login)
  • Этот модуль принимает только Post-запросы.
  • Источник: MediaWiki
  • Лицензия: GPL-2.0+

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.