Commons:Bots/Requests/JhealdBot (5)
JhealdBot (talk · contribs) (5)
Operator: Jheald (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)
Bot's tasks for which permission is being sought:
- To rename multiple files, uploaded here from the British Library "Mechanical Curator" set on Flickr.
Automatic or manually assisted:
- Automatic, based on prepared hand-reviewed batches of up to several hundred at a time.
Edit type (e.g. Continuous, daily, one time run):
- In batches, with review after each batch.
Maximum edit rate (e.g. edits per minute):
6012
Bot flag requested: (Y/N):
- JhealdBot already has the bot flag. But I think it would need the file-mover flag.
Programming language(s):
- Perl, using MediaWiki::Bot
More detailed explanation:
- For some time I have been working towards an upload of images identified as maps, found in the 1 million images extracted from old books that were uploaded by the British Library to Flickr.
- These uploads would include categorisation based on locations inferred from the georferencing campaign here, and meaningful file names based on map titles input as part of the georeferencing process. Here's a page showing some typical intended filenames:
- (See also further pages in Category:MC_upload_prep_pages. These filenames would also be similar to those used for many many of the BL books (over 20,000 images in all) by User:Metilsteiner, as per those in eg: Category:Finska_kriget_och_Finlands_krigare_1808-1809_(1897)_by_DANIELSON
- However, I took too long about it, and recently User:Artix Kreiger has uploaded just over 20,000 of the images (about 40% of the maps total) using Flickr2Commons, giving standard F2C filenames like these:
- -- ie the book name (at some length) and page number, but not eg the date or what the file is actually about.
- Rather than these, I believe that when eg reviewing thumbnails in a category, or adding further categorisation with Cat-a-lot, that file names indicating what the map itself actually contains, along with book author, date, and volume / page number, would be more useful.
- Therefore I would like permission to work through batch-by-batch to re-write these filenames per my original intended scheme. That would also mean they would harmonise better with the remaining majority of files, that are still to upload.
Jheald (talk) 17:34, 28 March 2018 (UTC)
Discussion
since I was pinged, i wanted to say that the maps were already given the names by the British Library as is. None of the names were given by me. (although I removed the part "Image taken from" while uploading.) This invariably also uploaded several dups, those that were actually rotated, but was not flagged as duplicate by the auto detecting software. JuTa, since you dealt with some of these pics, do you have any opinion? Artix Kreiger (talk) 17:40, 28 March 2018 (UTC)
- Will it invoke delinker for each file move, or will do the delinking on its own? --Zhuyifei1999 (talk) 18:02, 28 March 2018 (UTC)
- I was literally just going to use the move call in MediaWiki::Bot (if it still works), which in turn calls the MediaWiki mw:API:Move. I haven't used the Move function before, so hadn't considered Commons:Delinker. I presumed the old file pages would be turned into redirects, and was going to be content to leave it at that. But I am happy to do more, if more is required. Jheald (talk) 18:34, 28 March 2018 (UTC)
- I think a filemove should get the files delinked, either through delinker or by the bot itself (I recommend the former). You can add the requests in batches if you want. --Zhuyifei1999 (talk) 18:39, 28 March 2018 (UTC)
- Okay, that looks straightforward enough, if it's really not a problem dropping a couple of hundred requests there in one go. Though they were only uploaded quite recently, and not advertised, so I think file usage so far is pretty minimal. Just having a look with PetScan to see. Jheald (talk) 18:53, 28 March 2018 (UTC)
- There is currently one file being used externally from Artix Kreiger's "Set of Maps" upload. But older files that others have uploaded may have accumulated more uses, so I acknowledge that it's important to check this. Jheald (talk) 19:11, 28 March 2018 (UTC)
- Example check with PetScan: [1] Jheald (talk) 15:34, 7 October 2018 (UTC)
- I think a filemove should get the files delinked, either through delinker or by the bot itself (I recommend the former). You can add the requests in batches if you want. --Zhuyifei1999 (talk) 18:39, 28 March 2018 (UTC)
- I was literally just going to use the move call in MediaWiki::Bot (if it still works), which in turn calls the MediaWiki mw:API:Move. I haven't used the Move function before, so hadn't considered Commons:Delinker. I presumed the old file pages would be turned into redirects, and was going to be content to leave it at that. But I am happy to do more, if more is required. Jheald (talk) 18:34, 28 March 2018 (UTC)
- File mover rights requested for User:JhealdBot Jheald (talk) 12:53, 29 March 2018 (UTC)
- Please explain the edit rate of 60 per minutes. All your other tasks are with 12 per minutes (one every 5 seconds). Based on the quantity of changes suggested here, there seem to be no need for a higher rate. --Schlurcher (talk) 22:41, 1 April 2018 (UTC)
- @Schlurcher: Changed to 12. Don't know where the 60 came from. Completely agree, no need for anything faster. Jheald (talk) 09:31, 2 April 2018 (UTC)
- No further comments and no concerns regarding this request. --Schlurcher (talk) 16:49, 6 April 2018 (UTC)
- @Schlurcher: Changed to 12. Don't know where the 60 came from. Completely agree, no need for anything faster. Jheald (talk) 09:31, 2 April 2018 (UTC)
- Do you intend to use suppress_redirect when moving the files? --Krd 20:00, 6 April 2018 (UTC)
- @Krd: I had thought to keep the redirects, just in case somebody has externally linked to one of these files. Redirects are cheap. And leaving the old pages may also help flag possible duplication to any future uploaders from Flickr, if some of these files have been cropped or adjusted in the meantime.
- BTW, I do hope to do a demonstration run really soon now. I'm just finishing some work preparing for book & author wikidata links & categories for the files that will be in the first set, per JhealdBot (4) Jheald (talk) 20:41, 6 April 2018 (UTC)
- The bot already has file mover rights, when ready please continue and make a small test run. --Krd 06:36, 7 April 2018 (UTC)
- @Jheald: Please advise when ready to test. Thank you. --Krd 05:41, 15 April 2018 (UTC)
- The bot already has file mover rights, when ready please continue and make a small test run. --Krd 06:36, 7 April 2018 (UTC)
No update for one month, closing as stale. --Krd 10:00, 17 May 2018 (UTC)
- Reopened per request. --Krd 05:54, 7 October 2018 (UTC)
- @Krd: Test run completed, see bot contributions from 15:46 to 16:07 (103 files renamed), old file names -> new file names.
- Now to rewrite the pages (JhealdBot (4)), to complete the job.Jheald (talk) 16:58, 7 October 2018 (UTC)
Approved. --Krd 07:03, 17 October 2018 (UTC)