Pomoc MediaWiki API

To jest automatycznie wygenerowana strona dokumentacji MediaWiki API. Dokumentacja i przykłady: https://www.mediawiki.org/wiki/API

action=login (lg)

(main | login)
  • Ten moduł akceptuje tylko żądania POST.
  • Źródło: MediaWiki
  • Licencja: 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

Nazwa użytkownika.

lgpassword

Hasło.

lgdomain

Domena (opcjonalnie).

lgtoken

Token logowania zdobyty w pierwszym zapytaniu.