As some of the tasks (not bot tasks) I'm running at the moment often overwrite images, every day I'm seeing the following abusefilter error being incorrectly applied:
WARNING: API error abusefilter-warning: ⧼abusefilter-warning-overwriting-artwork⧽
A second run then appears to ignore the error and allow the overwrite. This encourages writing code which simply has another crack after an API error, which seems haphazard as a solution.
This is triggered when an image hosted on Wikimedia Commons includes the Artwork template on the image text page and the image is being overwritten by someone who is not the uploader. An example overwrite of mine which triggered the API exeption, then allowed a later run was https://commons.wikimedia.org/w/index.php?title=File:Speyer_St_Jakob_Marxtor_Barfuesserkloster_Merian.jpg&diff=prev&oldid=296516116
The bot flag allows this to be ignored thanks to https://commons.wikimedia.org/wiki/Special:AbuseFilter/history/176/diff/prev/1813. Could we also add the image reviewer right as an exception, presuming that will work at least for my overwrites?
A background discussion is in the VP archive https://commons.wikimedia.org/wiki/Commons:Village_pump/Archive/2018/02#Blacklist_filter_for_artwork_overwrites