Manual:$wgAccountCreationThrottle

From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文
Access: $wgAccountCreationThrottle
Number of accounts each IP address may create, 0 to disable.
Introduced in version: 1.3.0
Removed in version: still in use
Allowed values: array
Default value: See below
Other settings: Alphabetical | By function

Details[edit]

Limit to the number of accounts which may be created within a 24-hour period from a single IP address (whether by unregistered or registered user), 0 to disable. Account creations from users with the noratelimit right (or in the deprecated $wgRateLimitsExcludedGroupsManual:$wgRateLimitsExcludedGroups group) aren't counted.

It's set to 6 on Wikimedia Foundation wikis.

$wgMainCacheTypeManual:$wgMainCacheType must be set to a value other than CACHE_NONE for this setting to work.

Default value[edit]

MediaWiki version: 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 versions: 1.3 – 1.27
/**
 * Number of accounts each IP address may create, 0 to disable.
 *
 * @warning Requires $wgMainCacheType to be enabled
 */
$wgAccountCreationThrottle = 0;

See also[edit]