Note the module is now on CPAN http://search.cpan.org/~exobuzz/
Please Check CPAN for the latest version of the module and documentation
This module provides an interface between Perl and the MediaWiki API (http://www.mediawiki.org/wiki/API) allowing creation of scripts to automate editing and extraction of data from MediaWiki driven sites like Wikipedia.
I wrote it as the module we were using previously for our bot (http://search.cpan.org/~spectrum/MediaWiki-1.13/) had a variety of bugs which didn't seem to get fixed very quickly and as the MediaWiki API was getting mature, it seemed logical to move to a solution which utilised it.
The module requires the Perl module JSON::XS (available as libjson-xs-perl on Debian lenny/sid). It used the XML::Simple in the first versions, but I switched it over to the json format, as it is a much faster parsing module and in some respects, easier to work with. (XML::Simple by default on Debian uses the Pure Perl parser which has some problems with decoding numerical entities in attributes)
or see the MediaWiki Based Documentation
For reporting bugs, please use the CPAN bug tracker http://rt.cpan.org/Public/Dist/Display.html?Name=MediaWiki-API
The latest snapshot can be downloaded from CPAN - http://search.cpan.org/~exobuzz/. If you want to try the development version, it is available on svn and can be downloaded with
it should build and install with
make; sudo make install