Commons:Bots/Requests/InductiveBot

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

InductiveBot

Operator: Inductiveload (talk)

Bot's tasks for which permission is being sought:

  • Batch uploading of files.
  • Category re-arrangement (especially for large groups that should be systematically categorised, like publications and series)
  • Supervised

Automatic or manually assisted:

  • Automatic (but will be spooling current action updates, so I can see if it's misbehaving).
  • Manually assisted/one-shot for some uploads and edits

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

  • Intermittent running, when I want to upload a batch of images.

Maximum edit rate (eg edits per minute):

  • No more that 5-6 per minute, and less for large files. Most files I will upload are large and many edits are manual, so realistic edit rates are more around the 1-3 per minute mark.

Bot flag requested: (Y/N): Y

Programming language(s):

  • Python

Inductiveload (talk) 08:29, 21 January 2010 (UTC)

Discussion

Great, but what are you going to upload exactly? Multichill (talk) 08:48, 21 January 2010 (UTC)

Well, I was going to start with 183 files in the "Memoirs of Sir Isaac Newton's life" series. See Category:Files in the Memoirs of Sir Isaac Newton's life series for the first few. After that, I'll probably do "Deutsche Pomologie - Aepfel" series. You can see the pear series here: Category:Files in the Deutsche Pomologie — Birnen series. There will be 100 images in this series. Commonist isn't good for these because it can't put the {series} template outside the {information} template. I don't have any more image sets lined up yet, but there will some in a similar vein, probably historial or scientific objects that have lapsed copyright. Hope this helps. Inductiveload (talk) 09:04, 21 January 2010 (UTC)
Looks good on first sight. Couple of small remarks:
Did you take a look at Commons:Batch uploading? It's becoming a nice resource and it's includes a couple of requests you might like. Multichill (talk) 09:21, 21 January 2010 (UTC)
The date, yes that makes sense. I didn't put that on some more recent edits for that reason.
The category name is automatically generated by the {{series}} template. Personally I don't like that aspect, but the template is nice. However, it is used by a lot of things, and changing the template's behavior would break a lot of links.
You are right, I could and will use the creator template, I haven't used that before. A whole new namespace: how fun!
I will take a look at "batch uploading" when I have a chance. It does look like the kind of thing I would like.
Does that mean I can make a small test upload and see if I have the upload method right? The description text is all generated ok, and the filename is generated correctly. Cheers, Inductiveload (talk) 09:38, 21 January 2010 (UTC)
Actually, there aren't many series using the {{series}} template, and of course, each series only needs one edit to fix the category. Do you think I should make the auto-categorisation point to Category:XXX YYY series instead? Inductiveload (talk) 09:41, 21 January 2010 (UTC)
I don't really like auto-categorization, could you just add the category directly? When you did that we can just remove the option. On second thought I think Category:Memoirs of Sir Isaac Newton's life and Category:Deutsche Pomologie — Birnen are even better names. For other examples of scanned books you might want to take a look at Category:De Wikisource template. Feel free to do a test to see how this works out. Multichill (talk) 10:13, 21 January 2010 (UTC)
  • Dedent If an image uses that template and has a title, then it goes in Category:Files in the XXX series. I remove the auto-categorization, then every image that uses that template and has a title, which is not all of them by a long way (all the carnival ones seems to have ignored the title option totally), but is a few hundred at least, needs to have Category:XXX added to replace it. I agree this is the best option, and I could set this bot up to do that too, but it will take some time.
  • In other news, InductiveBot successfully uploaded its first file: File:Memoirs_of_Sir_Isaac_Newton's_life_-_010.jpgInductiveload (talk) 10:48, 21 January 2010 (UTC)
  • OK, I took out the autocat from {{series}}, but I'll need permission to run my bot over the files to put the cats back in. And also the bot seems capable of safely uploading files. Inductiveload (talk) 11:33, 21 January 2010 (UTC)
    • Restored it for a moment, makes clean up easier. Feel free to run your bot. Just don't go to fast or break anything before you're flagged :-) Multichill (talk) 11:35, 21 January 2010 (UTC)
  • OK, but why is it better? It seems to be almost exactly the same thing, but series has variable length steps and picture previews of the neighboring pages. I see your point on the template thing, but the exact same thing could be done with {{series}}. However, if there's a standard policy for this then I will try to abide by it. Inductiveload (talk) 18:03, 21 January 2010 (UTC)
I think series is for set of images and etc. However it may be subjective :-) Anyway wrapper around main template will be useful if anybody will want to change navigation in future. Wrapper may be also used to include {{Information}} to simplify adding translations. --EugeneZelenko (talk) 15:36, 22 January 2010 (UTC)
OK, I will do that in future. I see what you mean, it does make sense to always use the same template. Cheers − Inductiveload (talk) 00:01, 23 January 2010 (UTC)
  • As an indication for what my long-term plan is, here is the preliminary "top page" for Phil. Trans. The structure will then go to the different "types" of Phil. Trans. (original, A, B, abridged), these go to volumes, and these (eventually) go to pages which have the articles in order. Inductiveload (talk) 07:13, 23 January 2010 (UTC)
  • I was advised to move the hub page to Wikisource, but the categories still need to be done here, otherwise the links will be inconsistent at WS Inductiveload (talk) 16:27, 23 January 2010 (UTC)
I think will be good idea to specify all author those text present in DjVu in {{Information}} (see File:Philosophical Transactions - Volume 001 - Front Matter.djvu). --EugeneZelenko (talk) 15:26, 28 January 2010 (UTC)
That's a good idea, but it doesn't say who contributes each article (at least not back in the 1600s, maybe the situation is different more recently). Even JSTOR lists the Royal Society as the source. Inductiveload (talk) 22:11, 31 January 2010 (UTC)
I have now changed my approach to uploading whole volumes at a time (Eg File:Philosophical Transactions - Volume 001.djvu). With over 20 issues per volume, and maybe 8 articles per issue, it wouldn't be so practical to list every contibutor (and most articles don't even have contributors). IMHO, this can be done at the Wikisource pages at the top of each issue. The Wikisource pages are linked to from the file. Inductiveload (talk) 04:18, 1 February 2010 (UTC)
Back to the Bot Request in point. Can I have permission to use my bot for category work too? I want to rearrange a small (for a bot) number of files to do with Phil. Trans. and there are some interesting-looking requests in the Bot Work area which I could do if I was allowed. Thanks! Inductiveload (talk) 04:18, 1 February 2010 (UTC)
For work to be done other than Phil Trans pages, see User:Inductiveload/Sarang_bot_work for an initial discussion of the work to be done.
Update: The bot is ready to run on one of Sarang's requests. I need data from him, but I can test the bot at any time from now. Inductiveload (talk) 04:09, 2 February 2010 (UTC)
There is a successful test edit at Radical 004-0. Inductiveload (talk) 14:15, 6 February 2010 (UTC)
Update 2: The bot is now ready to run on two of Sarang's requests. It has been run successfully in debug mode, I just need permission to test it so Sarang can check to see if it what was in mind! Thanks Inductiveload (talk) 21:29, 2 February 2010 (UTC)
There is a successful test edit at Category:Radical 004. Inductiveload (talk) 14:15, 6 February 2010 (UTC)
  • I would also like to use this bot to tag copyvios. It will add a {{copyvio}} on the image page and a {{copyvionote}} (substituted) on the user's talk page. The reason will be tailored to the type of copyvio: album cover/logo/non-free source, etc. An example of the use of the bot can be found at File:Macbook.jpg (I didn't realise the -debug parameter has no effect on this one, so it wrote the changes anyway). This bot action is a one-shot, manually-assisted one (I have to enter the filename, user and reason). Inductiveload (talk) 11:30, 3 February 2010 (UTC)
    How bot will make decision about copyvio? Or it'll be semi-automatic process like bot handling list of files created by human(s)? --EugeneZelenko (talk) 15:31, 3 February 2010 (UTC)
    I will only run the bot when I have noticed a file to mark myself (for example by keeping an eye on NewFiles or when I run into one in the uncategorized areas) . I have to enter the filename, type of copyvio (to generate a relevant reason for the template) and the user before the bot can work. At the moment the bot is one-shot, in that it handles on copyvio at a time. The bot just makes the pair of edits, and does not choose the files at all. Inductiveload (talk) 16:21, 3 February 2010 (UTC)
    Thank you for explanations. Test run looks OK for me. --EugeneZelenko (talk) 15:40, 4 February 2010 (UTC)
    Thanks! I will use it next time I see a copyvio! Inductiveload (talk) 14:15, 6 February 2010 (UTC)

If nobody has objections, I think we should grant bot status. --EugeneZelenko (talk) 15:45, 7 February 2010 (UTC)