MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=unblock
(main | unblock)
- Ta modul zahteva pravice branja.
- This module requires write rights.
- Ta modul sprejema samo zahtevke POST.
- Source: MediaWiki
- License: GPL-2.0-or-later
Unblock a user.
Specifični parametri:
Na voljo so tudi drugi splošni parametri.
- id
ID of the block to unblock (obtained through list=blocks). Cannot be used together with user.
- Vtipkajte: celo število
- user
User to unblock. Cannot be used together with id.
- Vrsta: uporabnik, ki ustreza kateremu koli od uporabniško ime, IP, IP-razpon in ID uporabnika (npr. »#12345«)
- userid
- Opuščeno.
Specify user=#ID instead.
- Vtipkajte: celo število
- reason
Reason for unblock.
- Default: (empty)
- tags
Change tags to apply to the entry in the block log.
- Values (separate with | or alternative):
- token
A "csrf" token retrieved from action=query&meta=tokens
- Ta parameter je obvezen.
Zgleda:
- 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]