Manual:$wgAccountCreationThrottle

From Linux Web Expert

<translate> Access</translate>: $wgAccountCreationThrottle
Number of accounts each IP address may create, 0 to disable.
<translate> Introduced in version:</translate>1.3.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(integer or array)
<translate> Default value:</translate>See below

Details

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 aren't counted.

It is currently set to 6 on Wikimedia Foundation wikis.[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 <translate> task <tvar name=1>T233704</tvar></translate>

Default value

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.28
<translate> MediaWiki version:</translate>
/**
 * 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,
] ];
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.27</tvar> is unsupported version</translate>">
1.3 – 1.27
<translate> MediaWiki versions:</translate>
/**
 * Number of accounts each IP address may create, 0 to disable.
 *
 * @warning Requires $wgMainCacheType to be enabled
 */
$wgAccountCreationThrottle = 0;

See also

References