Commons:Bots/Requests/YiFeiBot (23)

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

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

Bot's tasks for which permission is being sought: Remove double file extensions (ignore cases; jpg and jpeg are same; tif and tiff are same; remove the second last extension). List depends on User:Dispenser/Double_extension, Bot will use the same method of dumping to User:CommonsDelinker/commands/filemovers as Commons:Bots/Requests/YiFeiBot_(19)

Automatic or manually assisted: Automatic unsupervised

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

Maximum edit rate (e.g. edits per minute): 6 moves per minute

Bot flag requested: (Y/N): N

Programming language(s): python: pywikibot

Zhuyifei1999 (talk) 09:19, 2 February 2015 (UTC)[reply]

Discussion

File:Blondefontaine - église Saint-Martin - intérieur.JPG 04.JPG
File:Blondefontaine - église Saint-Martin - intérieur.JPG 05.JPG
--99of9 (talk) 05:09, 5 February 2015 (UTC)[reply]
Both skipped (ext are not same) --Zhuyifei1999 (talk) 06:10, 5 February 2015 (UTC)[reply]
Ok, so it's quite conservative. I don't anticipate any trouble.  Support --99of9 (talk) 06:43, 5 February 2015 (UTC)[reply]
 Support I also think that jpg is better than JPG or jpeg. Actually, when doing rename manually, the extension are automatically switched to lower case. So you can also include (JPG|jpg|jpeg) -> jpg. Regards, Yann (talk) 16:49, 5 February 2015 (UTC)[reply]
I think the manual move is because of this.mimeFileExtension part in MediaWiki:Gadget-AjaxQuickDelete.js. I'll implement that tomorrow. --Zhuyifei1999 (talk) 07:50, 6 February 2015 (UTC)[reply]
✓ Done --Zhuyifei1999 (talk) 10:37, 8 February 2015 (UTC)[reply]
Could you please make another test run with various extensions combinations? --EugeneZelenko (talk) 15:14, 10 February 2015 (UTC)[reply]
User:Dispenser/Double_extension is done. Only File:Богоявленский храм.jpeg.jpg => File:Богоявленский храм.jpg and File:Здвиженська церква в Тернополі F.27.12.07r.039.jpg.JPG => File:Здвиженська церква в Тернополі F.27.12.07r.039.jpg are skipped as their target already exist --Zhuyifei1999 (talk) 08:00, 11 February 2015 (UTC)[reply]

If there are no objections, I think task should be approved. --EugeneZelenko (talk) 15:02, 11 February 2015 (UTC)[reply]