Manual:$wgRateLimits/fr

Détails
Options simples de limitation de quota pour freiner les inondations de modifications. Nombre maximal d'actions dans un nombre donné de secondes; après cela, le client qui le dépasse reçoit des pages d'erreur HTTP 500 jusqu'à l'écoulement de la période. To check if a rate limit has been exceeded, use the User::pingLimiter function.

For example, to set a maximum of 4 edits per 60 seconds for "newbie" (i.e. non-autoconfirmed) users, add the following:

By setting  the limitations for a specific action can be marked as not skippable. If that is set, neither the noratelimit user right nor the setting have any effect for that action.

must be set to a value other than CACHE_NONE for rate limits to be enabled at all.

Default value
Extensions can provide additional keys for $wgRateLimit. E.g. provides a "badcaptcha" key, which allows to throttle users based on the number of wrong answers they have given to a captcha. An example might be:

This will allow newbie users not more than 100 wrong answers per day (86400 seconds).

Différences entre versions

 * Le tableau 'mailpassword' a été ajouté dans MediaWiki 1.7.0.
 * Le tableau 'emailuser' a été ajouté dans MediaWiki 1.10.0.
 * The 'linkpurge' array was added in MediaWiki 1.22.0.
 * The 'renderfile' array was added in MediaWiki 1.22.0.