Manual:$wgRateLimits

From MediaWiki.org

Jump to: navigation, search
Rate limiter: $wgRateLimits
Simple rate limiter options to brake edit floods.
Introduced in version: 1.4.5
Removed in version: still in use
Allowed values:
Default value: (see below)

Other settings: Alphabetical | By Function


Contents

[edit] Details

Simple rate limiter options to brake edit floods. Maximum number of actions allowed in the given number of seconds; after that the violating client receives HTTP 500 error pages until the period elapses.

e.g.

array( 4, 60 ) for a maximum of 4 hits in 60 seconds.

This option requires memcached (see bug 20595). Also, note that it is experimental and likely to change.

[edit] Default value

array(
    'edit' => array(
        'anon'   => null, // for any and all anonymous edits (aggregate)
        'user'   => null, // for each logged-in user
        'newbie' => null, // for each recent account; overrides 'user'
        'ip'     => null, // for each anon and recent account
        'subnet' => null, // ... with final octet removed
    ),
    'move' => array(
        'user'   => null,
        'newbie' => null,
        'ip'     => null,
        'subnet' => null,
    ),
    'mailpassword' => array(
         'anon' => NULL,
    ),
    'emailuser' => array(
         'user' => null,
    ),
);

[edit] Version differences

  • The 'mailpassword' array was added in MediaWiki 1.7.0.
  • The 'emailuser' array was added in MediaWiki 1.10.0.

[edit] See also