Manual:Rate limits
MediaWiki applies rate limits to some user actions, particularly ones that modify content or require a lot of resources.
Configuration
[edit]A rate limit can be applied for any user right. The actual values of the rate limits can vary per wiki configuration via these parameters:
If an account has the noratelimit right (such as an account in the Bot or Admin group), these rate limits don't apply. To see the limits that apply to you, use the user info API module, for example:
Bots using OAuth
[edit]To bypass configured rate limits using the noratelimit right, a bot that uses OAuth must ensure that its OAuth client includes the highvolume grant.
Concurrency limits
[edit]Some actions also have a maximum number of requests that can happen at the same time. These concurrency limits are controlled by $wgPoolCounterConf and are disabled by default.
Limits
[edit]Limits apply only to actions that users are allowed to perform based on their user rights. Here are some examples of limits on common actions and how they are applied on Wikimedia wikis. For a complete list of default limits in MediaWiki, see $wgRateLimits.
| Action | Minimal user right | MediaWiki default ratelimits | Wikimedia wikis with custom ratelimits[1] |
|---|---|---|---|
| edit | * (all) |
8 per minute |
|
autoconfirmed
|
90 per minute | ||
| move | * (all)
|
2 per 2 minutes |
|
autoconfirmed
|
8 per minute | ||
| upload | * (all)
|
8 per minute |
|
| rollback | * (all)
|
5 per 2 minutes | None |
autoconfirmed
|
10 per minute |
|
Wikimedia Commons
[edit]The following rate limits apply to file uploads on Wikimedia Commons:
| Group | Minimal condition | Ratelimit |
|---|---|---|
| Uploads rights | ||
* (all)
|
Anonymous IP | 0 |
user
|
Have an account | 380 per 4320 sec. |
autoconfirmed
|
4+ days old account | 380 per 4320 sec. |
autopatrolled
|
On request | 999 per 1 sec. |
patroller
|
On request | 999 per 1 sec. |
image-reviewer
|
On request | 999 per 1 sec. |
| 4320 sec. = 72 mins. | ||
See also
[edit]- Rate limits for Wikimedia APIs
- Best practices for using the Action API on Wikimedia wikis
- Technical overview of rate limiting in Wikimedia infrastructure
References
[edit]- ↑ See
wgRateLimitsin InitialiseSettings.php