Rate limits for edits should be enforced
Acceptance criteria
- A user without exemption from rate limits can not edit faster than the edit rate limit dictates.
Scenarios
Scenario: Too many edits
GIVEN I am on the Lexeme page
AND I have made the number of edits per time unit that equals the edit rate limit
AND I see edit buttons
WHEN I edit something
AND I submit changes
THEN Show the error message from the API (the general error handling in Wikibase) at the save button
Technical notes:
Example in PHP code of where checking rate limits happens in Wikibase : https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/repo/includes/EditEntity.php#L531