Page MenuHomePhabricator

"API request failed (readonly): The wiki is currently in read-only mode." error for 3 in 5035 edits
Open, Needs TriagePublic

Description

As I was populating https://commons.wikimedia.org/wiki/Category:Images_from_banknote.ws I noticed three errors in VisualFileChange:

API request failed (readonly): The wiki is currently in read-only mode. <i>at Sat, 13 Jul 2019 21:30:20 GMT</i> <u>served by mw1342</u> (for https://commons.wikimedia.org/wiki/File:10_cents_-_Agricultural_Bank_of_Four_Provinces_-_Honan,_Hupeh,_Anhui_%26_Kiangsi_(1933)_02.jpg )
API request failed (readonly): The wiki is currently in read-only mode. <i>at Sat, 13 Jul 2019 21:32:58 GMT</i> <u>served by mw1232</u> (for https://commons.wikimedia.org/wiki/File:100_Coppers_-_Hsing_Yeh_Bank_of_Jehol_(1921)_03.jpg )
API request failed (readonly): The wiki is currently in read-only mode. <i>at Sat, 13 Jul 2019 21:33:26 GMT</i> <u>served by mw1346</u> (for https://commons.wikimedia.org/wiki/File:10_Dollars_-_Bank_of_Kiangsi_(Undated)_02.jpg )

The other 5035 edits went fine. Why would it say the wiki is in read-only mode?

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 13 2019, 9:43 PM
AlexisJazz added a comment.EditedJul 13 2019, 10:34 PM

API request failed (readonly): The wiki is currently in read-only mode. <i>at Sat, 13 Jul 2019 22:21:04 GMT</i> <u>served by mw1284</u> (for https://commons.wikimedia.org/wiki/File:10_Yuan_-_Bank_of_Honan_Province_(1922)_02.jpg )

Nirmos added a subscriber: Nirmos.Jul 14 2019, 5:28 PM

This happens when the servers are under too heavy load. Looking at https://commons.wikimedia.org/w/index.php?title=Special:Contributions/Alexis_Jazz&offset=&limit=500&target=Alexis+Jazz it seems you have made 353 edits in one minute. That's almost 6 edits per second. That is several times faster than bots are allowed to edit on any Wikimedia project I know of. Even doing this with a bot flag would not solve the database retention problems you've seen. Doing this without a bot flag is absolutely crazy, as not only are you still editing too fast for the servers, but you'll also flood Special:RecentChanges, making life much harder for the few brave heroes there who try to catch vandalism. I suggest you read up on some etiquette before making any further edit:
https://commons.wikimedia.org/wiki/Commons:Bots
https://www.mediawiki.org/wiki/API:Etiquette

AlexisJazz added a comment.EditedJul 16 2019, 5:16 PM

@Nirmos "on any Wikimedia project I know of", you don't know Commons, do you? This is normal. According to https://commons.wikimedia.org/wiki/Commons:Village_pump/Proposals/Archive/2018/06#Rate_limit_is_at_90_edits_per_minute the ratelimit on Commons is set at 10500 per 3 minutes for patrolled/autopatrolled/image reviewers. (not sure if this is still the current setting.. I thought I ran into it again some time ago)