Hi,
Users without a bot flag will quickly receive an error when trying to make too many edits in a row [1]. I noticed that I am getting this even when editing at a rate of 0.5 edits/second. What is permissible there? I would like to use this as a default throttling in WDTK.
Moreover, when editing as a bot, this limit does not apply. Is there a recommended edit rate for bots? Of course there is the dispatch statistics, but I guess it is better to avoid pushing this to a high value before stopping.
Thanks,
Markus
[1] "[failed-save] As an anti-spam 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."
On Tue, Sep 8, 2015 at 5:30 PM, Markus Krötzsch markus@semantic-mediawiki.org wrote:
Hi,
Users without a bot flag will quickly receive an error when trying to make too many edits in a row [1]. I noticed that I am getting this even when editing at a rate of 0.5 edits/second. What is permissible there? I would like to use this as a default throttling in WDTK.
Moreover, when editing as a bot, this limit does not apply. Is there a recommended edit rate for bots? Of course there is the dispatch statistics, but I guess it is better to avoid pushing this to a high value before stopping.
All I could find is the maxlag and dispatch lag here: https://www.wikidata.org/wiki/Wikidata:Bots#Approval_process
Cheers Lydia
On 08.09.2015 18:21, Lydia Pintscher wrote:
On Tue, Sep 8, 2015 at 5:30 PM, Markus Krötzsch markus@semantic-mediawiki.org wrote:
Hi,
Users without a bot flag will quickly receive an error when trying to make too many edits in a row [1]. I noticed that I am getting this even when editing at a rate of 0.5 edits/second. What is permissible there? I would like to use this as a default throttling in WDTK.
Moreover, when editing as a bot, this limit does not apply. Is there a recommended edit rate for bots? Of course there is the dispatch statistics, but I guess it is better to avoid pushing this to a high value before stopping.
All I could find is the maxlag and dispatch lag here: https://www.wikidata.org/wiki/Wikidata:Bots#Approval_process
Yes, I know those, but non-bot users are blocked after 9 quick edits no matter how high maxlag and median lag are at the moment. There seems to be a separate mechanism for this.
Markus
2015-09-08 18:37 GMT+02:00 Markus Krötzsch markus@semantic-mediawiki.org:
On 08.09.2015 18:21, Lydia Pintscher wrote:
On Tue, Sep 8, 2015 at 5:30 PM, Markus Krötzsch markus@semantic-mediawiki.org wrote:
Hi,
Users without a bot flag will quickly receive an error when trying to make too many edits in a row [1]. I noticed that I am getting this even when editing at a rate of 0.5 edits/second. What is permissible there? I would like to use this as a default throttling in WDTK.
Moreover, when editing as a bot, this limit does not apply. Is there a recommended edit rate for bots? Of course there is the dispatch statistics, but I guess it is better to avoid pushing this to a high value before stopping.
All I could find is the maxlag and dispatch lag here: https://www.wikidata.org/wiki/Wikidata:Bots#Approval_process
Yes, I know those, but non-bot users are blocked after 9 quick edits no matter how high maxlag and median lag are at the moment. There seems to be a separate mechanism for this.
I believe that is not even only for a single user. I had a workshop a couple of weeks ago where I was training in how to use the tool Autolist to edit. With 10 people in the room this error message were being shown long before anyone of them had made 9 edits.
/Jan
Markus
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Hi,
On 09/08/2015 08:30 AM, Markus Krötzsch wrote:
Hi,
Users without a bot flag will quickly receive an error when trying to make too many edits in a row [1]. I noticed that I am getting this even when editing at a rate of 0.5 edits/second. What is permissible there? I would like to use this as a default throttling in WDTK.
Pywikibot uses a default throttle of 6 edits per minute, and users can override it in their config file or with a command-line argument. I think it's a sane default for most users.
Moreover, when editing as a bot, this limit does not apply. Is there a recommended edit rate for bots? Of course there is the dispatch statistics, but I guess it is better to avoid pushing this to a high value before stopping.
I think this depends how much your trust your code versus how many reverts you'll potentially have to make once someone finds a bug. I think 10-15 edits per minute is usually reasonable.
You should still follow everything in [1] though, specifically no parallel requests and obeying maxlag.
[1] https://www.mediawiki.org/wiki/API:Etiquette
-- Legoktm
On 08.09.2015 18:37, Legoktm wrote:
Hi,
On 09/08/2015 08:30 AM, Markus Krötzsch wrote:
Hi,
Users without a bot flag will quickly receive an error when trying to make too many edits in a row [1]. I noticed that I am getting this even when editing at a rate of 0.5 edits/second. What is permissible there? I would like to use this as a default throttling in WDTK.
Pywikibot uses a default throttle of 6 edits per minute, and users can override it in their config file or with a command-line argument. I think it's a sane default for most users.
Interesting. That's much slower than I would have thought. I think even Autolist2 makes a lot more edits per minute (maybe one per second?).
Moreover, when editing as a bot, this limit does not apply. Is there a recommended edit rate for bots? Of course there is the dispatch statistics, but I guess it is better to avoid pushing this to a high value before stopping.
I think this depends how much your trust your code versus how many reverts you'll potentially have to make once someone finds a bug. I think 10-15 edits per minute is usually reasonable.
You should still follow everything in [1] though, specifically no parallel requests and obeying maxlag.
Yes, I have already implemented maxlag for Wikidata Toolkit -- it will be part of the next release. Direct throttling will be next. The median lag check will be third. Then I will make another release ;-)
I never make parallel requests (since you can easily make hundreds of edits per minute sequentially, parallel access seems to be quite pointless ;-).
Markus
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
wikidata-tech@lists.wikimedia.org