Admin Forum:Deleting Unused Images

Is there any way to just do a swift delete of all unused images? AWB doesn't have an option for it, and I'm hopeless with Python, so I'm kinda stumped here. -- ~ Mana ~   (Talk)   01:44, January 20, 2013 (UTC)


 * Not without a bot, unfortunately. I'm not sure if AWB can generate a list of pages from Special:UnusedImages, but if not, I could probably run a bot to do it for you. 01:55, January 20, 2013 (UTC)


 * I've tried running the HTML Scraper through Special:UnusedFiles, but I don't get anything back. I have a bot account flagged, set-up and ready to go, but without the list of files to be deleted, I can't do anything. I've searched around the AWB manual, previous forum posts and lazily Googled it, but I haven't came to any conclusion on how to do it. I'm basically trying to remove all of this, with exceptions to the badge images. -- ~ Mana ~   (Talk)   01:59, January 20, 2013 (UTC)

Suggestion: here is a short snippet of JavaScript you can use to generate a raw text list of files from the Special:UnusedFiles page: Copy/paste that code into your w:c:beyblade:User:~Mana~/wikia.js page and then visit w:c:beyblade:Special:UnusedFiles. It will create a textarea box above the gallery which lists all the filenames (but only the ones which currently appear on the page -- you will need to keep clicking "next" to keep finding more unused files). But that should allow you to generate a list of files to feed through AWB. Does that work for your purposes?