Commons:Bots/Requests/RonBot 2

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

RonBot 2 (talk · contribs)

Operator: Ronhjones (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)

Bot's tasks for which permission is being sought: Add a {{Flickrreview}} to all new images with a Flickr URL

Automatic or manually assisted: Automatic

Edit type (e.g. Continuous, daily, one time run): Daily

Maximum edit rate (e.g. edits per minute): Expected 5 to 20 pages per day

Bot flag requested: (Y/N): Yes

Programming language(s): Python

Ronhjones  (Talk) 17:13, 13 January 2019 (UTC)[reply]

Discussion

Every day there are Flickr images uploaded, but the uploader does not tag them for Flickr Review. For example today - 14 files, 2 x cc-by-nc-nd-2.0, 1 x All rights reserved, 11 x cc-by-sa-4.0 (which FlickrBot changed to cc-by-2.0 after I tagged them). This set of results is not uncommon. I've been using some advanced search patterns with RonBot1 (writing to userspace only - User:RonBot/FlickrSource) to find these. But it would make sense to automatically tag them. The plan will only to do new files, there are very old files that need more manual review. Ronhjones  (Talk) 17:13, 13 January 2019 (UTC)[reply]

P.S. This is only for file pages with some CC license. PD is a different can of worms. Ronhjones  (Talk) 23:32, 13 January 2019 (UTC)[reply]
I am only planning to add the {{Flickrreview}} where an uploader has forgotten to add it (or does not know to add it), nothing more (although it might make sense to add "no permission" or "no source" if the source is just "Flickr" and no URL - that could be decided here). The code will be based on the searches for Flickr files in User:RonBot/1/Source1 which has been working well (e.g Special:Diff/334659077 - shows the 14 I mentioned above) and finding Flickr images with no review done or requested. I would usually then load up all the images at once and one by one activate my macro to add {{Flickrreview}} (using User:Ronhjones/Adds.js). As for derivatives, you can't expect a bot to work that out - it would be just the same if someone uploads a Flickr derivative and adds the {{Flickrreview}} themselves. Ronhjones  (Talk) 19:37, 14 January 2019 (UTC)[reply]
You may wish to think about drawing out a state machine that can pick up on these cases. For example a user who is unaware of tools to help with derivatives, may crop a Commons image and add a link back to the original. Detecting that interlinks exist in the wikitext is a trivial test. Similarly it is quite easy to check the suggested source for 404 errors, or check the account of the uploader to decide whether this is likely to be a case where automation is relevant. For example, it would probably be unproductive to automatically add flickrreview to uploads by someone with more than 100,000 edits. You do not have to work it all out in advance, but a narrowly specified automated task is far less likely to create downstream work. -- (talk) 12:12, 16 January 2019 (UTC)[reply]
@Krd: Enough test edits done to evaluate, bot stopped - summary list at User:RonBot/2/FlickrTrial Ronhjones  (Talk) 03:29, 20 January 2019 (UTC)[reply]
Looks good to me, but what about Fæ's comments above? --Krd 18:28, 21 January 2019 (UTC)[reply]
@Krd: I've no idea what a state machine is, I can't see how to check if the Flickr image has been cropped - even the Flickr review bot does not do that - any crop causes it to fail. If the user is experienced, then they have probably added the {{Flickrreview}} anyway, if not - what's the problem, it will probably pass the review (and COM:LR says License reviewing is a necessary process for files from Flickr, and I'm not messaging the user (unless there is the simple "source = Flickr", and no URL - which needs fixing anyway.) Ronhjones  (Talk) 18:42, 21 January 2019 (UTC)[reply]
@: Please give some more hints regarding your previous comment. Thank you. --Krd 18:27, 27 January 2019 (UTC)[reply]
I would not hold this up. An Agile approach to responding to failures is fine, but I suggest a project page for the bot where improvements can be logged. -- (talk) 18:34, 27 January 2019 (UTC)[reply]
Page created - link on bot's user page User:RonBot Ronhjones  (Talk) 19:04, 27 January 2019 (UTC)[reply]

Approved. --Krd 12:24, 30 January 2019 (UTC)[reply]