Jump to content

Manual:$wgTempAccountCreationThrottle

From mediawiki.org
Access: $wgTempAccountCreationThrottle
Number of temporary accounts each IP address may create per specified period(s).
Introduced in version:1.42.0 (Gerrit change 1008111; git #08fef956)
Removed in version:Still in use
Allowed values:(array)
Default value:See below

Details

[edit]

Number of temporary accounts each IP address may create per specified period(s).

Default value

[edit]
/**
 * Number of temporary accounts each IP address may create per specified period(s).
 *
 * @par Example
 * @code
 * $wgTempAccountCreationThrottle = [
 *  // no more than 100 per month
 *  [
 *   'count' => 100,
 *   'seconds' => 30*86400,
 *  ],
 *  // no more than 6 per day
 *  [
 *   'count' => 6,
 *   'seconds' => 86400,
 *  ],
 * ];
 * @endcode
 *
 * @see self::AccountCreationThrottle for the regular account version of this throttle.
 * @warning Requires $wgMainCacheType to be enabled
 *
 * @since 1.42
 */
$wgTempAccountCreationThrottle = [ [
	'count' => 6,
	'seconds' => 86400,
] ];