Media Wiki Bot

I needed a bot to quickly modify the pages of wiki.muonlinehelp.com. So I created Mutex which kind of helps do the job. It's full of bugs with no error handling but works for me.

Usage:

<?
  require 'class.mediawiki.php';
  $mw = new mediawiki('http://yourwikiurl/api.php');
  $mw->login('botuser', 'botpassword');
  $mw->editPage('title', 'page_text');
?>

You can get the source code from here.

Comments

comments powered by Disqus