Jump to content

Manual:$wgAccountCreationThrottle

From mediawiki.org
This page is a translated version of the page Manual:$wgAccountCreationThrottle and the translation is 40% complete.
Outdated translations are marked like this.
Acceso: $wgAccountCreationThrottle
Número de cuentas cada dirección de IP puede crear, 0 para inutilizar.
Introducido en la versión:1.3.0
Eliminado en la versión:aún se usa
Valores permitidos:(integer or array)
Valor predeterminado:Véase abajo

Detalles

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.

Cuentas creadas desde usuarios con el permiso noratelimit no son contadas.

The ExemptFromAccountCreationThrottle hook can also be used to exempt an IP address. When the throttle is hit, the AuthenticationAttemptThrottled hook gets called.

Está configurado en 6 en los wikis de la Fundación Wikimedia.[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

Default value

Versión de 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,
] ];
Versiones de 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;

See also


References