עזרה של MediaWiki API
זהו דף תיעוד של API שנוצר באופן אוטומטי.
תיעוד ודוגמאות: https://www.mediawiki.org/wiki/API
action=unblock
(main | unblock)
- יחידה זו דורשת הרשאות קריאה.
- יחידה זו דורשת הרשאות כתיבה.
- יחידה זו מקבלת רק בקשות POST.
Unblock a user.
פרמטרים:
- id
ID of the block to unblock (obtained through list=blocks). Cannot be used together with user.
- user
Username, IP address or IP range to unblock. Cannot be used together with id.
- reason
Reason for unblock.
- ברירת מחדל: (ריק)
- token
אסימון "csrf" אוחזר מ־action=query&meta=tokens
- פרמטר זה נדרש.
דוגמאות:
- Unblock block ID #105.
- api.php?action=unblock&id=105
- Unblock user Bob with reason Sorry Bob.
- api.php?action=unblock&user=Bob&reason=Sorry%20Bob