Jump to content

Manual:$wgAccountCreationThrottle

From mediawiki.org
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a translated version of the page Manual:$wgAccountCreationThrottle and the translation is 86% complete.
アクセス権: $wgAccountCreationThrottle
各 IP アドレスから作成できるアカウント数。無効にするには 0 を指定する。
導入されたバージョン:1.3.0
除去されたバージョン:使用中
許容される値:(整数または配列)
既定値:下記参照

詳細

1 つの IP アドレスから 24 時間で作成できるアカウント数を制限します (未登録利用者か登録利用者かは問いません)。無効にするには 0 を指定します。

noratelimit 権限を持つ利用者のアカウント作成はカウントされません。

現在、ウィキメディア財団のウィキ群では 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, 0 to disable.
 *
 * @warning Requires $wgMainCacheType to be enabled
 */
$wgAccountCreationThrottle = 0;

関連項目

脚注