This Forum has been archived

Visit the new Forums
Forums: Index Support Requests Deleting unused files with AWB
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.

50px-Replacement filing cabinet.svg

Note: This topic has been unedited for 1915 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.

Is it possible to use AWB to delete unused files in a wiki? --源田幸次郎 ビースト ファング!! 06:48, June 28, 2012 (UTC)

AFAIK, AWB cannot delete pages. You're going to want to look into PyWikipediaBot instead. Rappy 06:49, June 28, 2012 (UTC)
AWB certainly can delete pages. However, it's kind of difficult to generate a list of unused files. I find that the easiest way to do it is to view the source of Special:UnusedFiles and do a little bit of Regex formatting to get the file names. ʞooɔ
06:57, June 28, 2012 (UTC)
I honestly have no idea what Regex formatting means. Is there an easy way to explain to me what I should do? --源田幸次郎 ビースト ファング!! 07:00, June 28, 2012 (UTC)
Really? I'll have to look into that. Rappy 07:07, June 28, 2012 (UTC)
If you point me to your wiki I could make a usable list of the unused files on it that could be fed to AWB for deletion. ʞooɔ
07:02, June 28, 2012 (UTC)
This is my wiki: --源田幸次郎 ビースト ファング!! 07:03, June 28, 2012 (UTC)
Here's your list. Just put it into AWB and delete each of the pages using the delete button. You could also use pywikipediabot to do it fast, but that's a bit more complicated. ʞooɔ
07:14, June 28, 2012 (UTC)
Thank you very much! You've been of great help. --源田幸次郎 ビースト ファング!! 07:20, June 28, 2012 (UTC)
Oh, actually, those need to be prefixed. Try this. ʞooɔ
07:24, June 28, 2012 (UTC)