MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: 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.* [サンドボックスで開く]