r44471 - in /trunk/libmediawiki-api-perl: Changes META.yml Makefile.PL debian/changelog debian/control debian/copyright lib/MediaWiki/API.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sun Sep 20 22:49:02 UTC 2009


Author: jawnsy-guest
Date: Sun Sep 20 22:48:56 2009
New Revision: 44471

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44471
Log:
* New upstream release
  + Bug fix to honour the skip_encoding option
* Standards-Version 3.8.3 (no changes)
* Added myself to Uploaders and Copyright
* Remove license as "GPL-3+" for debian/ -- GPL-1+ covers this

Modified:
    trunk/libmediawiki-api-perl/Changes
    trunk/libmediawiki-api-perl/META.yml
    trunk/libmediawiki-api-perl/Makefile.PL
    trunk/libmediawiki-api-perl/debian/changelog
    trunk/libmediawiki-api-perl/debian/control
    trunk/libmediawiki-api-perl/debian/copyright
    trunk/libmediawiki-api-perl/lib/MediaWiki/API.pm

Modified: trunk/libmediawiki-api-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmediawiki-api-perl/Changes?rev=44471&op=diff
==============================================================================
--- trunk/libmediawiki-api-perl/Changes (original)
+++ trunk/libmediawiki-api-perl/Changes Sun Sep 20 22:48:56 2009
@@ -1,4 +1,7 @@
 Revision history for MediaWiki-API
+
+0.28    2009-09-09
+        The skip_encoding option was ignored for the list function. Thanks to Estelle for reporting the problem.
 
 0.27    2009-05-14
         Updated README installation instructions including some notes for building debian packages and dependencies.

Modified: trunk/libmediawiki-api-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmediawiki-api-perl/META.yml?rev=44471&op=diff
==============================================================================
--- trunk/libmediawiki-api-perl/META.yml (original)
+++ trunk/libmediawiki-api-perl/META.yml Sun Sep 20 22:48:56 2009
@@ -1,10 +1,10 @@
 --- #YAML:1.0
 name:                MediaWiki-API
-version:             0.27
+version:             0.28
 abstract:            Provides a Perl interface to the MediaWiki API (http://www.mediawiki.org/wiki/API)
 license:             GPL-3+
 author:              
-    - Jools Smyth <buzz at exotica.org.uk>
+    - Jools Wills <buzz at exotica.org.uk>
 generated_by:        ExtUtils::MakeMaker version 6.42
 distribution_type:   module
 requires:     

Modified: trunk/libmediawiki-api-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmediawiki-api-perl/Makefile.PL?rev=44471&op=diff
==============================================================================
--- trunk/libmediawiki-api-perl/Makefile.PL (original)
+++ trunk/libmediawiki-api-perl/Makefile.PL Sun Sep 20 22:48:56 2009
@@ -4,7 +4,7 @@
 
 WriteMakefile(
     NAME                => 'MediaWiki::API',
-    AUTHOR              => 'Jools Smyth <buzz at exotica.org.uk>',
+    AUTHOR              => 'Jools Wills <buzz at exotica.org.uk>',
     VERSION_FROM        => 'lib/MediaWiki/API.pm',
     ABSTRACT_FROM       => 'lib/MediaWiki/API.pm',
     LICENSE             => 'GPL-3+',

Modified: trunk/libmediawiki-api-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmediawiki-api-perl/debian/changelog?rev=44471&op=diff
==============================================================================
--- trunk/libmediawiki-api-perl/debian/changelog (original)
+++ trunk/libmediawiki-api-perl/debian/changelog Sun Sep 20 22:48:56 2009
@@ -1,4 +1,11 @@
-libmediawiki-api-perl (0.27-2) UNRELEASED; urgency=low
+libmediawiki-api-perl (0.28-1) UNRELEASED; urgency=low
+
+  [ Jonathan Yu ]
+  * New upstream release
+    + Bug fix to honour the skip_encoding option
+  * Standards-Version 3.8.3 (no changes)
+  * Added myself to Uploaders and Copyright
+  * Remove license as "GPL-3+" for debian/ -- GPL-1+ covers this
 
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
@@ -8,7 +15,7 @@
     perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as
     permitted by Debian Policy 3.8.3).
 
- -- Nathan Handler <nhandler at ubuntu.com>  Sat, 06 Jun 2009 01:34:57 +0000
+ -- Jonathan Yu <jawnsy at cpan.org>  Sun, 20 Sep 2009 14:44:38 -0400
 
 libmediawiki-api-perl (0.27-1) unstable; urgency=low
 

Modified: trunk/libmediawiki-api-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmediawiki-api-perl/debian/control?rev=44471&op=diff
==============================================================================
--- trunk/libmediawiki-api-perl/debian/control (original)
+++ trunk/libmediawiki-api-perl/debian/control Sun Sep 20 22:48:56 2009
@@ -4,8 +4,8 @@
 Build-Depends: debhelper (>= 7)
 Build-Depends-Indep: perl, libwww-perl, libjson-perl, libtest-pod-perl, libtest-pod-coverage-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Ryan Niebur <ryanryan52 at gmail.com>
-Standards-Version: 3.8.1
+Uploaders: Ryan Niebur <ryanryan52 at gmail.com>, Jonathan Yu <jawnsy at cpan.org>
+Standards-Version: 3.8.3
 Homepage: http://search.cpan.org/dist/MediaWiki-API/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmediawiki-api-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libmediawiki-api-perl/

Modified: trunk/libmediawiki-api-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmediawiki-api-perl/debian/copyright?rev=44471&op=diff
==============================================================================
--- trunk/libmediawiki-api-perl/debian/copyright (original)
+++ trunk/libmediawiki-api-perl/debian/copyright Sun Sep 20 22:48:56 2009
@@ -1,28 +1,21 @@
 Format-Specification:
     http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
-Upstream-Maintainer: Jools Smyth <buzz at exotica.org.uk>
+Upstream-Maintainer: Jools Wills <buzz at exotica.org.uk>
 Upstream-Source: http://search.cpan.org/dist/MediaWiki-API/
 Upstream-Name: MediaWiki-API
 
 Files: *
-Copyright: Copyright (C) 2009 Jools Wills
+Copyright: 2009, Jools Wills <buzz at exotica.org.uk>
 License: GPL-3+
 
-Files: ./lib/MediaWiki/API.pm
-Copyright Copyright 2008 Jools Wills, all rights reserved.
+Files: lib/MediaWiki/API.pm
+Copyright: 2008, Jools Wills <buzz at exotica.org.uk>
 License: GPL-3+
 
 Files: debian/*
 Copyright: 2009, Ryan Niebur <ryanryan52 at gmail.com>
-License: GPL-3+ | Artistic | GPL-1+
-
-License: GPL-3+
-    This library is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 3 of the License, or
-    (at your option) any later version.
-    On Debian GNU/Linux systems, the complete text of version 3 of the GNU
-    General Public License can be found in `/usr/share/common-licenses/GPL-3'
+ 2009, Jonathan Yu <jawnsy at cpan.org>
+License: Artistic | GPL-1+
 
 License: Artistic
     This program is free software; you can redistribute it and/or modify
@@ -37,3 +30,11 @@
     any later version.
     On Debian GNU/Linux systems, the complete text of the GNU General
     Public License can be found in `/usr/share/common-licenses/GPL'
+
+License: GPL-3+
+    This library is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 3 of the License, or
+    (at your option) any later version.
+    On Debian GNU/Linux systems, the complete text of version 3 of the GNU
+    General Public License can be found in `/usr/share/common-licenses/GPL-3'

Modified: trunk/libmediawiki-api-perl/lib/MediaWiki/API.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmediawiki-api-perl/lib/MediaWiki/API.pm?rev=44471&op=diff
==============================================================================
--- trunk/libmediawiki-api-perl/lib/MediaWiki/API.pm (original)
+++ trunk/libmediawiki-api-perl/lib/MediaWiki/API.pm Sun Sep 20 22:48:56 2009
@@ -40,11 +40,11 @@
 
 =head1 VERSION
 
-Version 0.27
-
-=cut
-
-our $VERSION  = "0.27";
+Version 0.28
+
+=cut
+
+our $VERSION  = "0.28";
 
 =head1 SYNOPSIS
 
@@ -82,7 +82,7 @@
 
 =head1 FUNCTIONS
 
-=head2 MediaWiki::API->new( { $config_hash } )
+=head2 MediaWiki::API->new( $config_hashref )
 
 Returns a MediaWiki API object. You can pass a config as a hashref when calling new, or set the configuration later. When creating a new object, defaults for max lag and retries are set.
 
@@ -196,9 +196,9 @@
   return $self;
 }
 
-=head2 MediaWiki::API->login( $query_hash )
-
-Logs in to a MediaWiki. Parameters are those used by the MediaWiki API (http://www.mediawiki.org/wiki/API:Login). Returns a hash with some login details, or undef on login failure. Errors are stored in MediaWiki::API->{error}->{code} and MediaWiki::API->{error}->{details}.
+=head2 MediaWiki::API->login( $query_hashref )
+
+Logs in to a MediaWiki. Parameters are those used by the MediaWiki API (http://www.mediawiki.org/wiki/API:Login). Returns a hashref with some login details, or undef on login failure. Errors are stored in MediaWiki::API->{error}->{code} and MediaWiki::API->{error}->{details}.
 
   my $mw = MediaWiki::API->new( { api_url => 'http://en.wikipedia.org/w/api.php' }  );
 
@@ -223,7 +223,7 @@
   return $login;
 }
 
-=head2 MediaWiki::API->api( $query_hash, $options_hash )
+=head2 MediaWiki::API->api( $query_hashref, $options_hashref )
 
 Call the MediaWiki API interface. Parameters are passed as a hashref which are described on the MediaWiki API page (http://www.mediawiki.org/wiki/API). returns a hashref with the results of the call or undef on failure with the error code and details stored in MediaWiki::API->{error}->{code} and MediaWiki::API->{error}->{details}. MediaWiki::API uses the LWP::UserAgent module to send the http requests to the MediaWiki API. After any API call, the response object returned by LWP::UserAgent is available in $mw->{response};
 
@@ -385,7 +385,7 @@
   $self->{config}->{tokens} = undef;
 }
 
-=head2 MediaWiki::API->edit( $query_hash, $options_hash )
+=head2 MediaWiki::API->edit( $query_hashref, $options_hashref )
 
 A helper function for doing edits using the MediaWiki API. Parameters are passed as a hashref which are described on the MediaWiki API editing page (http://www.mediawiki.org/wiki/API:Changing_wiki_content). Note that you need $wgEnableWriteAPI = true in your LocalSettings.php to use these features.
 
@@ -459,7 +459,7 @@
 }
 
 
-=head2 MediaWiki::API->get_page( $params_hash )
+=head2 MediaWiki::API->get_page( $params_hashref )
 
 A helper function for getting the most recent page contents (and other metadata) for a page. It calls the lower level api function with a revisions query to get the most recent revision.
 
@@ -509,11 +509,11 @@
   return { 'pageid'=>$pageid, %{ $rev }, %{ $pageref } };
 }
 
-=head2 MediaWiki::API->list( $query_hash, $options_hash )
+=head2 MediaWiki::API->list( $query_hashref, $options_hashref )
 
 A helper function for getting lists using the MediaWiki API. Parameters are passed as a hashref which are described on the MediaWiki API editing page (http://www.mediawiki.org/wiki/API:Query_-_Lists).
 
-This function will return a reference to an array of hashes or undef on failure. It handles getting lists of data from the MediaWiki api, continuing the request with another connection if needed. The options_hash currently has three parameters:
+This function will return a reference to an array of hashes or undef on failure. It handles getting lists of data from the MediaWiki api, continuing the request with another connection if needed. The options_hashref currently has three parameters:
 
 =over
 
@@ -565,7 +565,7 @@
   my $continue = 0;
   my $count = 0;
   do {
-    return undef unless ( $ref = $self->api( $query ) );
+    return undef unless ( $ref = $self->api( $query, $options ) );
 
     # return (empty) arrayref if there are no results
     return \@results unless ( $ref->{query}->{$list} );
@@ -595,7 +595,7 @@
 
 }
 
-=head2 MediaWiki::API->upload( $params_hash )
+=head2 MediaWiki::API->upload( $params_hashref )
 
 A function to upload files to a MediaWiki. This function does not use the MediaWiki API currently as support for file uploading is not yet implemented. Instead it uploads using the Special:Upload page, and as such an additional configuration value is needed.
 
@@ -645,7 +645,7 @@
 
 }
 
-=head2 MediaWiki::API->download( $params_hash )
+=head2 MediaWiki::API->download( $params_hashref )
 
 A function to download images/files from a MediaWiki. A file url may need to be configured if the api returns a relative URL.
 




More information about the Pkg-perl-cvs-commits mailing list