Manual:$wgAccountCreationThrottle
Appearance
| アクセス権: $wgAccountCreationThrottle | |
|---|---|
| 各 IP アドレスから作成できるアカウント数。無効にするには 0 を指定する。 |
|
| 導入されたバージョン: | 1.3.0 |
| 除去されたバージョン: | 使用中 |
| 許容される値: | (整数または配列) |
| 既定値: | 下記参照 |
| その他の設定: アルファベット順 | 機能順 | |
詳細
1 つの IP アドレスから 24 時間で作成できるアカウント数を制限します (未登録利用者か登録利用者かは問いません)。無効にするには 0 を指定します。
noratelimit 権限やその他のレート制限免除を持つ利用者によるアカウント作成はカウントされません。
The ExemptFromAccountCreationThrottle hook can also be used to exempt an IP address. When the throttle is hit, the AuthenticationAttemptThrottled hook gets called.
現在、ウィキメディア財団のウィキ群では 6 に設定されています。[1]
$wgMainCacheType must be set to a value other than CACHE_NONE for this setting to work.
When using a captcha, failed captcha attempts increment the number of account creation for the IP address. Have this in mind if you have a captcha implemented and you want to set the account creation limit too low. See T233704
既定値
| MediaWiki バージョン: | ≧ 1.28 |
/**
* Number of accounts each IP address may create per specified period(s).
*
* @par Example:
* @code
* $wgAccountCreationThrottle = [
* // no more than 100 per month
* [
* 'count' => 100,
* 'seconds' => 30*86400,
* ],
* // no more than 10 per day
* [
* 'count' => 10,
* 'seconds' => 86400,
* ],
* ];
* @endcode
*
* @warning Requires $wgMainCacheType to be enabled
*/
$wgAccountCreationThrottle = [ [
'count' => 0,
'seconds' => 86400,
] ];
| MediaWiki バージョン: | 1.3 – 1.27 |
/**
* Number of accounts each IP address may create per day, 0 to disable.
*
* @warning Requires $wgMainCacheType to be enabled
*/
$wgAccountCreationThrottle = 0;
関連項目
$wgTempAccountCreationThrottle$wgTempAccountNameAcquisitionThrottle$wgPasswordAttemptThrottle- resetAuthenticationThrottle.php
- Extension:ThrottleOverride
- ウィキメディアのウィキ群における制限の一時的な引き上げのリクエストの手引き