Extension:UserThrottle

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
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

Translate the UserThrottle extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

What this extension does[edit | edit source]

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 | edit source]

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

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

Configuration[edit | edit source]

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.