My problem is that I have added many (about 200) images with a wiki bot to our company's wiki, a MediaWiki.

Now I want to delete all the images I have uploaded. I gave them all a name with a specified prefix. I planned to use the prefix to delete them. The problem now is that MediaWiki doesn't provide a function for deleting multiple articles.

My idea was to use a wiki bot to do this task. But before I'm starting to write an, own I want to ask: Is there such a bot already? I'm looking for a wiki bot that could delete articles in MediaWiki based on a regex. Does anybody know such a tool?

closed as not constructive by phwd Feb 8 '12 at 20:25

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.

migrated from superuser.com Sep 22 '11 at 11:35

This question came from our site for computer enthusiasts and power users.


Start with an apprefix query from the mediawiki query API. Then see the mediawiki delete API command.

  • 1
    Could you elaborate on your answer? The way it is now, it's not very helpful. – Alex Sep 23 '11 at 14:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.