Extension:UserThrottle

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
UserThrottle

Release status: stable

Implementation access (invalid type)
Description Throttle on user account registrations
Author(s) Brion Vibber (Brion VIBBERtalk)
License GPL
Download
Hooks used
AbortNewAccount
Check usage and version matrix; stats

What this extension does[edit]

Monitors global frequency of user account registrations and throttles apparent flood attacks, regardless of origin. Not always suitable for use on large public sites, but it's been used during occasional particular vandal attacks on Wikimedia in the past.

Installation[edit]

To install this extension, add the following to LocalSettings.php:

require_once("$IP/extensions/UserThrottle/UserThrottle.php");

Configuration[edit]

You can adjust the throttle settings in $wgGlobalAccountCreationThrottle:

$wgGlobalAccountCreationThrottle = array(
    'min_interval' => 5, // Hard minimum time between creations
    'soft_time' => 300, // Timeout for rolling count
    'soft_limit' => 10, // 10 registrations in five minutes
);

If you legitimately have signup floods, you may wish to adjust these.