MediaWiki API 帮助
这是自动生成的MediaWiki API文档页面。
文档和例子:-{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-
action=regexunblock
(main | regexunblock)
- 此模块需要读取权限。
- 此模块需要写入权限。
- 此模块只允许POST请求。
- 来源:RegexBlock
- 许可协议:GPL-2.0-or-later
Unblock users' names and IP addresses via regular expressions.
参数:
- regex
The blocked regular expression to unblock (may not actually be a true regular expression when exact blocking is used).
- 这个参数是必需的。
- token
从action=query&meta=tokens取回的“csrf”令牌
- 这个参数是必需的。
例子:
- Unblock "192.0.2.5" (which was presumably blocked with the "exact" option to block only that IP address from editing)
- api.php?action=regexunblock®ex=192.0.2.5 [在沙盒中打开]
- Unblock the regular expression "SpamUser.*" so that accounts like "SpamUser66" may be created and existing accounts with such names can edit the site.
- api.php?action=regexunblock®ex=SpamUser.* [在沙盒中打开]