Nápověda k MediaWiki API

Toto je automaticky generovaná dokumentační stránka k MediaWiki API.

Dokumentace a příklady: https://www.mediawiki.org/wiki/API

action=login (lg)

(main | login)
  • Tento modul přijímá pouze požadavky POST.
  • Zdroj: MediaWiki
  • Licence: 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.

Parametry:
lgname

Uživatelské jméno.

lgpassword

Heslo.

lgdomain

Doména (volitelná)

lgtoken

Login token obtained in first request.