עזרה של MediaWiki API
זהו דף תיעוד של API שנוצר באופן אוטומטי.
תיעוד ודוגמאות: https://www.mediawiki.org/wiki/API
action=login (lg)
(main | login)
- יחידה זו מקבלת רק בקשות POST.
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
אסימון כניסה התקבל בבקשה הראשונה.
דוגמאות: