Lucas_Werkmeister_WMDE added a comment.
Tested using a script to send a burst of 150 bad item ID creation requests (P14376 <https://phabricator.wikimedia.org/P14376>). Output before deploying the change: Bot username: Lucas Werkmeister (WMDE)@T272032_test Bot password: Q214286 {'not-recognized-array': 150} Q214437 The only error I got was an error about the bad `labels` array I passed in, and the item ID counter was increased by 150 between the two good “marker” items, one per failed request. Output after deploying the config change: Bot username: Lucas Werkmeister (WMDE)@T272032_test Bot password: Q214438 {'not-recognized-array': 89, 'no-automatic-entity-id': 61} Traceback (most recent call last): File "./floodids.py", line 49, in <module> print(marker_item()) File "./floodids.py", line 19, in marker_item return session.post(action='wbeditentity', File "/home/luwe/.local/lib/python3.8/site-packages/mwapi/session.py", line 340, in post return self.request('POST', params=params, auth=auth, File "/home/luwe/.local/lib/python3.8/site-packages/mwapi/session.py", line 170, in request return self._request(method, params=normal_params, auth=auth, File "/home/luwe/.local/lib/python3.8/site-packages/mwapi/session.py", line 126, in _request raise APIError.from_doc(doc['error']) mwapi.errors.APIError: no-automatic-entity-id: Cannot automatically assign ID: As an anti-abuse measure, you are limited from performing this action too many times in a short space of time, and you have exceeded this limit. Please try again in a few minutes. -- See https://test.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes. After the last error, I manually created a new item on the website and it got the ID Q214528, so this time the item ID counter was only increased by 89 between the marker items, and the remaining 61 requests got a `no-automatic-entity-id` error without further increasing the counter. That would match the rate limit of 90/minute. TASK DETAIL https://phabricator.wikimedia.org/T272032 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, Aklapper, Lucas_Werkmeister_WMDE, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, Gaboe420, lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs