Permalink
Browse files

Released 3.004003

  • Loading branch information...
1 parent d25d7e5 commit 83d277d699aa5fde3782556806d3e73b4ade3af7 Mike.lifeguard committed Jan 15, 2012
Showing with 82 additions and 75 deletions.
  1. +41 −39 Build.PL
  2. +2 −0 Changes
  3. +30 −28 Makefile.PL
  4. +9 −8 README
View
@@ -6,49 +6,51 @@ use Module::Build 0.3601;
my %module_build_args = (
- 'build_requires' => {
- 'File::Find' => '0',
- 'File::Temp' => '0',
- 'Module::Build' => '0.3601',
- 'Test::More' => '0.96',
- 'Test::Warn' => '0',
- 'utf8' => '0'
+ "build_requires" => {
+ "File::Find" => 0,
+ "File::Temp" => 0,
+ "Module::Build" => "0.3601",
+ "Test::More" => "0.96",
+ "Test::Warn" => 0,
+ "utf8" => 0
},
- 'configure_requires' => {
- 'ExtUtils::MakeMaker' => '6.30',
- 'Module::Build' => '0.3601'
+ "configure_requires" => {
+ "ExtUtils::MakeMaker" => "6.30",
+ "Module::Build" => "0.3601"
},
- 'dist_abstract' => 'a high-level bot framework for interacting with MediaWiki wikis',
- 'dist_author' => [
- 'Dan Collins <dcollins@cpan.org>',
- 'Mike.lifeguard <lifeguard@cpan.org>',
- 'Alex Rowe <alex.d.rowe@gmail.com>',
- 'Oleg Alexandrov <oleg.alexandrov@gmail.com>',
- 'jmax.code <jmax.code@gmail.com>',
- 'Stefan Petrea <stefan.petrea@gmail.com>',
- 'kc2aei <kc2aei@gmail.com>',
- 'bosborne@alum.mit.edu',
- 'Brian Obio <brianobio@gmail.com>',
- 'patch and bug report contributors'
+ "dist_abstract" => "a high-level bot framework for interacting with MediaWiki wikis",
+ "dist_author" => [
+ "Dan Collins <dcollins\@cpan.org>",
+ "Mike.lifeguard <lifeguard\@cpan.org>",
+ "Alex Rowe <alex.d.rowe\@gmail.com>",
+ "Oleg Alexandrov <oleg.alexandrov\@gmail.com>",
+ "jmax.code <jmax.code\@gmail.com>",
+ "Stefan Petrea <stefan.petrea\@gmail.com>",
+ "kc2aei <kc2aei\@gmail.com>",
+ "bosborne\@alum.mit.edu",
+ "Brian Obio <brianobio\@gmail.com>",
+ "patch and bug report contributors"
],
- 'dist_name' => 'MediaWiki-Bot',
- 'dist_version' => 'v3.4.2',
- 'license' => 'gpl',
- 'module_name' => 'MediaWiki::Bot',
- 'recommends' => {},
- 'recursive_test_files' => 1,
- 'requires' => {
- 'Carp' => '0',
- 'Digest::MD5' => '2.39',
- 'Encode' => '0',
- 'File::Basename' => '0',
- 'HTML::Entities' => '3.28',
- 'LWP::Protocol::https' => '0.57',
- 'MediaWiki::API' => '0.36',
- 'Module::Pluggable' => '0',
- 'perl' => '5.008'
+ "dist_name" => "MediaWiki-Bot",
+ "dist_version" => "3.004003",
+ "license" => "gpl",
+ "module_name" => "MediaWiki::Bot",
+ "recommends" => {},
+ "recursive_test_files" => 1,
+ "requires" => {
+ "Carp" => 0,
+ "Digest::MD5" => "2.39",
+ "Encode" => 0,
+ "File::Basename" => 0,
+ "HTML::Entities" => "3.28",
+ "LWP::Protocol::https" => "0.57",
+ "MediaWiki::API" => "0.36",
+ "Module::Pluggable" => 0,
+ "perl" => "5.008",
+ "strict" => 0,
+ "warnings" => 0
},
- 'script_files' => []
+ "script_files" => []
);
View
@@ -1,6 +1,8 @@
Changelog for {{$dist->name}}
{{$NEXT}}
+
+3.004003 2012-01-14
* Edits may be marked as major once again
* Don't use an invalid undefined assertion by default
* Fix tests for logging in (now requires credentials provided in
View
@@ -9,37 +9,39 @@ use ExtUtils::MakeMaker 6.30;
my %WriteMakefileArgs = (
- 'ABSTRACT' => 'a high-level bot framework for interacting with MediaWiki wikis',
- 'AUTHOR' => 'Dan Collins <dcollins@cpan.org>, Mike.lifeguard <lifeguard@cpan.org>, Alex Rowe <alex.d.rowe@gmail.com>, Oleg Alexandrov <oleg.alexandrov@gmail.com>, jmax.code <jmax.code@gmail.com>, Stefan Petrea <stefan.petrea@gmail.com>, kc2aei <kc2aei@gmail.com>, bosborne@alum.mit.edu, Brian Obio <brianobio@gmail.com>, patch and bug report contributors',
- 'BUILD_REQUIRES' => {
- 'File::Find' => '0',
- 'File::Temp' => '0',
- 'Module::Build' => '0.3601',
- 'Test::More' => '0.96',
- 'Test::Warn' => '0',
- 'utf8' => '0'
+ "ABSTRACT" => "a high-level bot framework for interacting with MediaWiki wikis",
+ "AUTHOR" => "Dan Collins <dcollins\@cpan.org>, Mike.lifeguard <lifeguard\@cpan.org>, Alex Rowe <alex.d.rowe\@gmail.com>, Oleg Alexandrov <oleg.alexandrov\@gmail.com>, jmax.code <jmax.code\@gmail.com>, Stefan Petrea <stefan.petrea\@gmail.com>, kc2aei <kc2aei\@gmail.com>, bosborne\@alum.mit.edu, Brian Obio <brianobio\@gmail.com>, patch and bug report contributors",
+ "BUILD_REQUIRES" => {
+ "File::Find" => 0,
+ "File::Temp" => 0,
+ "Module::Build" => "0.3601",
+ "Test::More" => "0.96",
+ "Test::Warn" => 0,
+ "utf8" => 0
},
- 'CONFIGURE_REQUIRES' => {
- 'ExtUtils::MakeMaker' => '6.30',
- 'Module::Build' => '0.3601'
+ "CONFIGURE_REQUIRES" => {
+ "ExtUtils::MakeMaker" => "6.30",
+ "Module::Build" => "0.3601"
},
- 'DISTNAME' => 'MediaWiki-Bot',
- 'EXE_FILES' => [],
- 'LICENSE' => 'gpl',
- 'NAME' => 'MediaWiki::Bot',
- 'PREREQ_PM' => {
- 'Carp' => '0',
- 'Digest::MD5' => '2.39',
- 'Encode' => '0',
- 'File::Basename' => '0',
- 'HTML::Entities' => '3.28',
- 'LWP::Protocol::https' => '0.57',
- 'MediaWiki::API' => '0.36',
- 'Module::Pluggable' => '0'
+ "DISTNAME" => "MediaWiki-Bot",
+ "EXE_FILES" => [],
+ "LICENSE" => "gpl",
+ "NAME" => "MediaWiki::Bot",
+ "PREREQ_PM" => {
+ "Carp" => 0,
+ "Digest::MD5" => "2.39",
+ "Encode" => 0,
+ "File::Basename" => 0,
+ "HTML::Entities" => "3.28",
+ "LWP::Protocol::https" => "0.57",
+ "MediaWiki::API" => "0.36",
+ "Module::Pluggable" => 0,
+ "strict" => 0,
+ "warnings" => 0
},
- 'VERSION' => 'v3.4.2',
- 'test' => {
- 'TESTS' => 't/*.t'
+ "VERSION" => "3.004003",
+ "test" => {
+ "TESTS" => "t/*.t"
}
);
View
17 README
@@ -3,7 +3,7 @@ NAME
MediaWiki wikis
VERSION
- version v3.4.2
+ version 3.004003
SYNOPSIS
use MediaWiki::Bot;
@@ -235,7 +235,7 @@ METHODS
with $limit number of revisions (default is as many as possible).
The array returned contains hashrefs with keys: revid, user, comment,
- timestamp_date, and timestamp_time.
+ minor, timestamp_date, and timestamp_time.
get_text
Returns an the wikitext of the specified $page_title. The second
@@ -354,17 +354,17 @@ METHODS
The "Options hashref":
- my @rc = $bot->update_rc(4, 10);
+ my @rc = $bot->recentchanges(4, 10);
foreach my $hashref (@rc) {
- print $hashref->{'title'} . "\n";
+ print $hashref->{title} . "\n";
}
# Or, use a callback for incremental processing:
- $bot->update_rc(0, 500, { hook => \&mysub });
+ $bot->recentchanges(0, 500, { hook => \&mysub });
sub mysub {
my ($res) = @_;
foreach my $hashref (@$res) {
- my $page = $hashref->{'title'};
+ my $page = $hashref->{title};
print "$page\n";
}
}
@@ -860,7 +860,8 @@ METHODS
$bot->patrol($rcid);
Marks a page or revision identified by the $rcid as patrolled. To mark
- several RCIDs as patrolled, you may pass an arrayref of them.
+ several RCIDs as patrolled, you may pass an arrayref of them. Returns
+ false and sets "$bot->{error}" if the account cannot patrol.
email
$bot->email($user, $subject, $body);
@@ -1005,7 +1006,7 @@ AUTHORS
* patch and bug report contributors
COPYRIGHT AND LICENSE
- This software is Copyright (c) 2011 by the MediaWiki::Bot team
+ This software is Copyright (c) 2012 by the MediaWiki::Bot team
<perlwikibot@googlegroups.com>.
This is free software, licensed under:

0 comments on commit 83d277d

Please sign in to comment.