Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Manual:$wgAccountCreationThrottle

From mediawiki.org
Translate this page
Languages:
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:(integer or array)
Default value:See below
Other settings:Alphabetical |By function

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 thenoratelimitright or another rate limiting exemption aren't counted.

TheExemptFromAccountCreationThrottle hook can also be used to exempt an IP address. When the throttle is hit, theAuthenticationAttemptThrottled hook gets called.

It is currently set to 6 on Wikimedia Foundation wikis.[1]$wgMainCacheType must be set to a value other thanCACHE_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. SeeT233704

Default value

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 per day, 0 to disable. * * @warning Requires $wgMainCacheType to be enabled */$wgAccountCreationThrottle=0;

See also


References

  1. phab:T212667
Retrieved from "https://www.mediawiki.org/w/index.php?title=Manual:$wgAccountCreationThrottle&oldid=7737358"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp