Media Wiki Bot

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


  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 powered by Disqus