Hi, guys.
It is possible to get a list of duplicate files of any wiki by going from them with an API request:
https://ru.wikipedia.org/w/api.php?action=query&generator=allimages&prop=duplicatefiles&gailimit=500&format=xml
I have searched en.wiki, commons, other chapters, there are multiple files to be worked with and no other way to find them. People in commons have some sort of JS userscripts but having a bot would be more useful.
Is it possible to make a basic script that would just post the report of found duplicates somewhere in wiki? The next version would be an opportunity of tagging them somehow.
I am looking through pagegenerator.py but not sure I can do it completely myself.