There are some Wikipedia bots that I consider to be absolutely indispensable: they perform tasks like fixing broken redirects, automatically reverting vandalism, etc. Is it possible to use these Wikipedia bots on other wikis? On large wikis, manually reverting vandalism and fixing broken redirects is a rather tedious task, and ought to be completely automated.

3 Answers 3


That always depends on the bot in question, there is no simple way to take several completely different bots and make them run on your wiki.

Some of them already operate on multiple wikis, so if you contact the bot operator, he might just add your wiki to the list. Even if the bot doesn't currently work on multiple wikis, he might be willing to modify it for that.

Most of the bots are also opensource, so you should be able to get heir code, modify it for your wiki (probably just change the URL in the config somewhere) and run it yourself.

  • Is there any standard collection of bots that can be quickly installed on a Mediawiki-based wiki (for routine tasks like vandalism prevention and fixing broken redirects?) I'd be surprised if such a thing didn't exist already. Commented Nov 20, 2012 at 23:08
  • Also, do you know of any external links that discuss this subject in greater detail? Commented Nov 20, 2012 at 23:11

Most of those bots use pywikipediabot framework [0], and in those cases, at least for some of them, the only thing needed is to configure it to edit on non-wikimedia wikis, simply by creating a configuration file. [1] Other frameworks have different methods, but at least the tasks mentioned are tipical of pywikipediabot,[2] fixing broken redirects for example, is a standart script that comes with pywikipediabot. [3]

I can't add more than 3 links, so [1] and [2] are the

[0]- http://www.mediawiki.org/wiki/Manual:Pywikipediabot

[1]- Manual:Pywikipediabot/Use_on_non-WMF_wikis

[2]- Manual:Pywikipediabot/Scripts

[3]- http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/fixing_redirects.py?view=markup


If you think a bot operation is of general usefulness for a MediaWiki wiki, not only you can reuse the respective code, but you could and should also try to get it included in MediaWiki proper.

The example you mention, fixing double redirects, is an example of an operation that now MediaWiki itself can perform, if you set $wgFixDoubleRedirects to true (see warnings).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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