r59184 - in /branches/upstream/libmediawiki-api-perl/current: Changes META.yml lib/MediaWiki/API.pm
ansgar-guest at users.alioth.debian.org
ansgar-guest at users.alioth.debian.org
Fri Jun 11 14:07:25 UTC 2010
Author: ansgar-guest
Date: Fri Jun 11 14:07:17 2010
New Revision: 59184
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=59184
Log:
[svn-upgrade] new version libmediawiki-api-perl (0.33)
Modified:
branches/upstream/libmediawiki-api-perl/current/Changes
branches/upstream/libmediawiki-api-perl/current/META.yml
branches/upstream/libmediawiki-api-perl/current/lib/MediaWiki/API.pm
Modified: branches/upstream/libmediawiki-api-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmediawiki-api-perl/current/Changes?rev=59184&op=diff
==============================================================================
--- branches/upstream/libmediawiki-api-perl/current/Changes (original)
+++ branches/upstream/libmediawiki-api-perl/current/Changes Fri Jun 11 14:07:17 2010
@@ -1,4 +1,8 @@
Revision history for MediaWiki-API
+
+0.33 2010-06-09
+ Download function checked for image description, instead of checking for imageinfo. This mean't that some
+ images were not downloaded. Thanks to "ke" for reporting this problem
0.32 2010-06-05
Config options passed when creating a new instance of the mediawiki api object were overwritten with default
Modified: branches/upstream/libmediawiki-api-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmediawiki-api-perl/current/META.yml?rev=59184&op=diff
==============================================================================
--- branches/upstream/libmediawiki-api-perl/current/META.yml (original)
+++ branches/upstream/libmediawiki-api-perl/current/META.yml Fri Jun 11 14:07:17 2010
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: MediaWiki-API
-version: 0.32
+version: 0.33
abstract: Provides a Perl interface to the MediaWiki API (http://www.mediawiki.org/wiki/API)
author:
- Jools Wills <buzz at exotica.org.uk>
Modified: branches/upstream/libmediawiki-api-perl/current/lib/MediaWiki/API.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libmediawiki-api-perl/current/lib/MediaWiki/API.pm?rev=59184&op=diff
==============================================================================
--- branches/upstream/libmediawiki-api-perl/current/lib/MediaWiki/API.pm (original)
+++ branches/upstream/libmediawiki-api-perl/current/lib/MediaWiki/API.pm Fri Jun 11 14:07:17 2010
@@ -40,11 +40,11 @@
=head1 VERSION
-Version 0.32
-
-=cut
-
-our $VERSION = "0.32";
+Version 0.33
+
+=cut
+
+our $VERSION = "0.33";
=head1 SYNOPSIS
@@ -706,8 +706,8 @@
# get the page id and the page hashref with title and revisions
my ( $pageid, $pageref ) = each %{ $ref->{query}->{pages} };
- # if the page is missing then return an empty string
- return '' if ( defined $pageref->{missing} );
+ # if the image is missing then return an empty string
+ return '' unless ( defined $pageref->{imageinfo} );
my $url = @{ $pageref->{imageinfo} }[0]->{url};
More information about the Pkg-perl-cvs-commits
mailing list