Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the MediaWiki-Bot CPAN distribution.

Report information
The Basics
Id: 58499
Status: resolved
Priority: 0/
Queue: MediaWiki-Bot

People
Owner: Nobody in particular
Requestors: j215 [...] heidemann.la.ca.us
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 3.0.0
Fixed in:
  • 3.1.5
  • 3.1.6
  • 3.1.6-TRIAL

Attachments


First example in the manual page is incorrect. Patch to correct is attached.
Subject: 0001-fix-manual-page-example.patch
From 82adf7bcdb281d6971365cc4b1daa61579b8f0a4 Mon Sep 17 00:00:00 2001 From: John Heidemann <johnh@isi.edu> Date: Thu, 17 Jun 2010 13:19:45 -0700 Subject: [PATCH] fix manual page example --- lib/MediaWiki/Bot.pm | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/MediaWiki/Bot.pm b/lib/MediaWiki/Bot.pm index 4212f2a..a7844d8 100644 --- a/lib/MediaWiki/Bot.pm +++ b/lib/MediaWiki/Bot.pm @@ -95,14 +95,14 @@ login_data is a hashref of data to pass to login(). See that section for a descr For example: - my $bot = MediaWiki::Bot->new( + my $bot = MediaWiki::Bot->new( { useragent => 'MediaWiki::Bot 3.0.0 (User:Mike.lifeguard)', assert => 'bot', protocol => 'https', host => 'secure.wikimedia.org', path => 'wikipedia/meta/w', login_data => { username => "Mike's bot account", password => "password" }, - ); + } ); For backward compatibility, you can specify up to three parameters: -- 1.7.0.1
Download (untitled) / with headers
text/plain 367b
On Thu Jun 17 16:23:17 2010, j215@heidemann.la.ca.us wrote: Show quoted text
> First example in the manual page is incorrect. > > Patch to correct is attached.
The 3.0.0 which got released to CPAN wasn't actually ready - double- checking the code examples was supposed to happen before doing that. This has been fixed in 3.1.5, which is the next release which happened after that.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.