User:BrolloBot

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


  • Operator: User:Alex brollo
  • Tasks: Edits of file description pages - Upload of new image versions
  • Operation: Manually assisted
  • When: Intermittent jobs (mainly related to fix CropTool uploads dealing with books illustrations)
  • Maximum edit rate: 15 edits/minute
  • Language: pywikibot python module

Todo

[edit]
  • Fixing file text pages uploaded by CropTool (tl|Book to tl|Information translation; category and description fixing)
  • Download image files, edit them by pillow or nconvert or manually, re-upload them as new version)


First bot test

[edit]

Book illustrations from djvu files by CropTool need to be fixed; some edits are needed in text page, and in image file. Simple edits of text page are used to test bot:

  1. erase {{DjVu}} template when files are jpg coming from cropped page images;
  2. erase [[Category:DjVu files in Italian]] since files are book illustrations and aren't books;
  3. apply [[Category:Di M. Camillo Agrippa Trattato di scienza d'arme]] if lacking.

In this test a try to convert the Book template into a more appropriate Information template will not be done; such a more complex edit is deferred to keep things simple. The needed manipulation of image (gray conversion, levels adjustments to get a white background) will be deferred too. Alex_brollo Talk|Contrib 21:43, 13 December 2018 (UTC)

Second bot test

[edit]

A list of jpg files upoaded with CropTool is browsed and wrong {{Djvu}} template is removed if present. Alex_brollo Talk|Contrib 14:38, 20 December 2018 (UTC)