Справка 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.
ÐÑимеÑÑ:
- Retrieve a login token.
- api.php?action=login&lgname=user&lgpassword=password
- ÐойÑи
- api.php?action=login&lgname=user&lgpassword=password&lgtoken=123ABC