- updated to 0.40 see /usr/share/doc/packages/perl-MediaWiki-API/Changes 0.40 2014-09-13 Apologies for the lack of updates and the speed to implement some fixes but I have been busy on other projects. Edit token code has been reworked somewhat to make it simpler, and a bugfix applied for an issue with downloading images over https using the buildin Download() function. 0.39 2012-05-20 Added automatic support for handling tokens in the MediaWiki::API->Edit function for (Un)watch, Send e-mail and Patrol changes. (Un)watch already worked but wasn't documented. 0.38 2012-05-19 Allow the actions the API supports with an http GET request to be configurable. MediaWiki::API->{config}->{get_actions} defaults to { 'query' => 1, 'logout' => 1, purge' => 1, 'paraminfo' => 1 } but can be added to/ammended as needed for any extensions that add additional functions to the API that support a GET request. Make the version of Test::More required to be 0.98 to avoid an issue with older versions missing functionality (eg. on centos 5.x). 0.37 2011-08-10 The MediaWiki::API->Edit call was not getting a token correctly for an import action. Thanks to Mike Lifeguard for the report. 0.36 2011-08-07 Since 1.16 MediaWiki now supports uploading files via the API, we no longer need to post directly to Special:Upload. Although now the MediaWiki::API->Upload function will use the api to upload if using a recent mediawiki, it has also been deprecated, as uploads can be done directly via the MediaWiki::API->API call, or if you prefer MediaWiki::API->Edit (where it will automatically get a token for you). Thanks to Jeremy Muhlich for the original patch. Some details about uploading files via the API / Edit calls can be OBS-URL: https://build.opensuse.org/request/show/297609 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MediaWiki-API?expand=0&rev=9
21 lines
464 B
YAML
21 lines
464 B
YAML
---
|
|
#description_paragraphs: 3
|
|
#no_testing: broken upstream
|
|
#sources:
|
|
# - source1
|
|
# - source2
|
|
#patches:
|
|
# foo.patch: -p1
|
|
# bar.patch:
|
|
#preamble: |-
|
|
# BuildRequires: gcc-c++
|
|
#post_prep: |-
|
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
|
#post_install: |-
|
|
# sed on %{name}.files
|
|
license: GPL-3.0+
|
|
#skip_noarch: 1
|
|
#custom_build: -
|
|
#./Build build flags=%{?_smp_mflags} --myflag
|