Помощ за МедияУики API

Това е автоматично генерирана страница за документация на МедияУики API.

Документация и примери: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=unblock

(main | unblock)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Unblock a user.

Parameters:
id

ID of the block to unblock (obtained through list=blocks). Cannot be used together with user.

Type: integer
user

User to unblock. Cannot be used together with id.

Type: user, by any of потребителско име, IP, IP-диапазон и Идентификатор на потребителя (напр. „#12345“)
userid
Непрепоръчителен.

Specify user=#ID instead.

Type: integer
reason

Reason for unblock.

По подразбиране: (празно)
tags

Change tags to apply to the entry in the block log.

Стойности (разделени с | или алтернативния разделител):
token

Маркер „csrf“, получен от action=query&meta=tokens

This parameter is required.
Примери:
Unblock block ID #105.
api.php?action=unblock&id=105 [open in sandbox]
Unblock user Bob with reason Sorry Bob.
api.php?action=unblock&user=Bob&reason=Sorry%20Bob [open in sandbox]