MediaWiki::Bot

A MediaWiki bot framework written in Perl
Download

MediaWiki::Bot Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL v3
  • Publisher Name:
  • MediaWiki::Bot Team
  • Publisher web site:
  • http://search.cpan.org/~lifeguard/

MediaWiki::Bot Tags


MediaWiki::Bot Description

A MediaWiki bot framework written in Perl MediaWiki::Bot is a Perl module that can be used to write bots which interface with the MediaWiki API (http://en.wikipedia.org/w/api.php).SYNOPSIS use MediaWiki::Bot; my $bot = MediaWiki::Bot->new({ useragent => 'MediaWiki::Bot/3.1.6 (User:Mike.lifeguard)', assert => 'bot', protocol => 'https', host => 'secure.wikimedia.org', path => 'wikipedia/meta/w', login_data => { username => "Mike's bot account", password => "password" }, }); my $revid = $bot->get_last("User:Mike.lifeguard/sandbox", "Mike.lifeguard"); print "Reverting to $revid\n" if defined($revid); $bot->revert('User:Mike.lifeguard', $revid, 'rvv'); Requirements: · Perl


MediaWiki::Bot Related Software