Commons:Bots/Requests/Achim55Bot
Achim55Bot (talk · contribs)
Operator: Achim55 (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)
Bot's tasks for which permission is being sought: Renaming of files
Automatic or manually assisted: Automatic, supervised
Edit type: Several single runs until the job is done
Maximum edit rate: max 10/minute
Bot flag requested: Y
Programming language(s): Pywikibot
Achim (talk) 17:09, 26 October 2017 (UTC)
Discussion
There are bot- or bulk-uploaded files with bad filenames due to incorrect handling of character or entity encoding, see here 1, 2, 3, 4 for more information and examples. As there are many misspelled proper names it is not only a cosmetical problem but search engines' results are affected directly. I moved about 200 files (mainly of more complex cases) by hand, but it came out that by now about 13,000 files seem to be affected. --Achim (talk) 17:09, 26 October 2017 (UTC)
- Are you planning to use suppress-redirect? If yes, under which conditions? --Krd 17:43, 26 October 2017 (UTC)
- No, I didn't because very many of the uploads are a couple of years old. --Achim (talk) 17:52, 26 October 2017 (UTC)
- Looks good for me. Suggest to wait a few days for additional comments. --Krd 15:07, 28 October 2017 (UTC)
- No, I didn't because very many of the uploads are a couple of years old. --Achim (talk) 17:52, 26 October 2017 (UTC)
Question: are you planning to do anything to update links to these files on other Wikimedia projects? Human filemovers can use Global Replace for this, but I don't think that's available for bots. --bjh21 (talk) 13:44, 2 November 2017 (UTC)
- bjh21, yes of course. I'm intending to use two lists of file names (before and after) from which the pairslist used by movepages.py is generated. On the fly another list of entries like at User:CommonsDelinker/commands/filemovers will be generated so CDC can be fed with a list of commands renaming the links of successful moves. I think that's the simplest way to get it done. --Achim (talk) 17:41, 2 November 2017 (UTC)
- Sounds good to me. --bjh21 (talk) 18:02, 2 November 2017 (UTC)
Approved. --Krd 12:53, 6 November 2017 (UTC)