[Wiki] Wikibots-l Digest, Vol 35, Issue 1
Send Wikibots-l mailing list submissions to
wikibots-l@...
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.wikimedia.org/mailman/listinfo/wikibots-l
or, via email, send a message with subject or body 'help' to
wikibots-l-request@...
You can reach the person managing the list at
wikibots-l-owner@...
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Wikibots-l digest..."
Today's Topics:
1. Issue with MediaWiki bot upload function (Roman Noverlan)
2. Re: Issue with MediaWiki bot upload function
(Federico Leva (Nemo))
3. Re: Issue with MediaWiki bot upload function (Platonides)
4. Re: Issue with MediaWiki bot upload function (Roman Noverlan)
5. Re: Issue with MediaWiki bot upload function
(Federico Leva (Nemo))
6. Re: Issue with MediaWiki bot upload function (Roman Noverlan)
7. Re: Issue with MediaWiki bot upload function (Platonides)
8. Re: Issue with MediaWiki bot upload function (Mark Wagner)
9. Bot for updating Bugzilla statuses (Erik Moeller)
10. Re: Bot for updating Bugzilla statuses (Brion Vibber)
11. Re: Bot for updating Bugzilla statuses (Platonides)
12. Re: Bot for updating Bugzilla statuses (Dr. Trigon)
13. Re: Bot for updating Bugzilla statuses (Dr. Trigon)
----------------------------------------------------------------------
Message: 1
Date: Sat, 8 Oct 2011 04:16:53 +0400
From: Roman Noverlan <roman.noverlan@...>
Subject: [Wikibots-l] Issue with MediaWiki bot upload function
To: wikibots-l@...
Message-ID:
<CAPXRug0EJZ1KXU_uZxtAz-5XGhjeRikzHmWReDRWm7PTMZ7_Lg@...>
Content-Type: text/plain; charset=ISO-8859-1
Hi all.
I use Perl and upload functions of MediaWiki::API and MediaWiki::Bot modules
(last version).
Bots don't work - returned "HTTP::Message content must be bytes at
/usr/local/share/perl/5.10.0/HTTP/Request/Common.pm line 91".
OS is Debian Linux.
How to resolve this issue?
--
Roman Noverlan
------------------------------
Message: 2
Date: Sat, 08 Oct 2011 10:41:11 +0200
From: "Federico Leva (Nemo)" <nemowiki@...>
Subject: Re: [Wikibots-l] Issue with MediaWiki bot upload function
To: Wikimedia bot editors discussion <wikibots-l@...>
Message-ID: <4E900CA7.4020309@...>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Roman Noverlan, 08/10/2011 02:16:
> I use Perl and upload functions of MediaWiki::API and MediaWiki::Bot modules
> (last version).
Just to check: you know there's
https://meta.wikimedia.org/wiki/Pywikipediabot/upload.py , don't you?
Nemo
------------------------------
Message: 3
Date: Sat, 08 Oct 2011 17:13:20 +0200
From: Platonides <platonides@...>
Subject: Re: [Wikibots-l] Issue with MediaWiki bot upload function
To: Wikimedia bot editors discussion <wikibots-l@...>
Message-ID: <4E906890.5000102@...>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Roman Noverlan wrote:
> Hi all.
>
> I use Perl and upload functions of MediaWiki::API and MediaWiki::Bot modules
> (last version).
>
> Bots don't work - returned "HTTP::Message content must be bytes at
> /usr/local/share/perl/5.10.0/HTTP/Request/Common.pm line 91".
>
> OS is Debian Linux.
>
> How to resolve this issue?
>
> --
> Roman Noverlan
Can you provide the http sent and the answer from the server?
Tipically I would capture it using wireshark, then copy the contents,
remove any sensitive data (eg. replace the content of session cookies)
and strip the actual file content if it is too big.
Note that just looking at the server response may point you to the
problem better than the high-level error.
------------------------------
Message: 4
Date: Sun, 9 Oct 2011 16:37:26 +0400
From: Roman Noverlan <roman.noverlan@...>
Subject: Re: [Wikibots-l] Issue with MediaWiki bot upload function
To: Wikimedia bot editors discussion <wikibots-l@...>
Message-ID:
<CAPXRug0ua9F=wyfd--EG75urNoz=8FKoczk93O5VZncixrscQQ@...>
Content-Type: text/plain; charset=ISO-8859-1
Yes, you suggest call this script from Perl? In my perl script for mediawiki
works all components but not upload
2011/10/8 Federico Leva (Nemo) <nemowiki@...>
> Roman Noverlan, 08/10/2011 02:16:
> > I use Perl and upload functions of MediaWiki::API and MediaWiki::Bot
> modules
> > (last version).
>
> Just to check: you know there's
> https://meta.wikimedia.org/wiki/Pywikipediabot/upload.py , don't you?
>
> Nemo
>
> _______________________________________________
> Wikibots-l mailing list
> Wikibots-l@...
> https://lists.wikimedia.org/mailman/listinfo/wikibots-l
>
------------------------------
Message: 5
Date: Sun, 09 Oct 2011 15:03:52 +0200
From: "Federico Leva (Nemo)" <nemowiki@...>
Subject: Re: [Wikibots-l] Issue with MediaWiki bot upload function
To: Wikimedia bot editors discussion <wikibots-l@...>
Message-ID: <4E919BB8.70200@...>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Roman Noverlan, 09/10/2011 14:37:
> Yes, you suggest call this script from Perl? In my perl script for mediawiki
> works all components but not upload
I'm not able to suggest anything, listen to Platodines for suggestions.
I was just checking that you were not reinventing the wheel for some
simple task, but if it's not very simple I can't help.
Nemo
------------------------------
Message: 6
Date: Sat, 15 Oct 2011 05:53:59 +0400
From: Roman Noverlan <roman.noverlan@...>
Subject: Re: [Wikibots-l] Issue with MediaWiki bot upload function
To: Wikimedia bot editors discussion <wikibots-l@...>
Message-ID:
<CAPXRug0MWky-VZ5bz4RsPz+geY4SKyMDX1yS3qV_tsyUDyT_BQ@...>
Content-Type: text/plain; charset=ISO-8859-1
Example of code, don't work: http://dpaste.com/hold/632543/
------------------------------
Message: 7
Date: Sun, 23 Oct 2011 21:57:40 +0200
From: Platonides <platonides@...>
Subject: Re: [Wikibots-l] Issue with MediaWiki bot upload function
To: Wikimedia bot editors discussion <wikibots-l@...>
Message-ID: <4EA471B4.6010100@...>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Roman Noverlan wrote:
> Example of code, don't work: http://dpaste.com/hold/632543/
Reading
http://search.cpan.org/~gaas/libwww-perl-6.03/lib/LWP/UserAgent.pm it
seems that $ua->get returns a response object,
while "HTTP::Message content must be bytes at
/usr/local/share/perl/5.10.0/HTTP/Request/Common.pm line 91". seems to
hint that
the $response passed to $api->edit isn't the contents.
(perhaps $response->is_success() is false?)
------------------------------
Message: 8
Date: Tue, 25 Oct 2011 12:53:58 -0700
From: Mark Wagner <carnildo@...>
Subject: Re: [Wikibots-l] Issue with MediaWiki bot upload function
To: Wikimedia bot editors discussion <wikibots-l@...>
Message-ID:
<CAA04aRR72w46B9KC=cRN2k4wDxqF7V3EnmJxP2wt-nEkns10KA@...>
Content-Type: text/plain; charset=UTF-8
On Fri, Oct 14, 2011 at 18:53, Roman Noverlan
<roman.noverlan@...> wrote:
> Example of code, don't work: http://dpaste.com/hold/632543/
First, you probably want "$response->decoded_content()", and second,
you want to make sure that $response is a scalar rather than a
reference or undef.
--
Mark
------------------------------
Message: 9
Date: Wed, 14 Dec 2011 15:31:17 -0800
From: Erik Moeller <erik@...>
Subject: [Wikibots-l] Bot for updating Bugzilla statuses
To: wikibots-l@...
Message-ID:
<CAEg6ZH=4mpaJ9rqg4TYs7jNts_2hcTx0AW3YZehEFBc_Nnhk9A@...>
Content-Type: text/plain; charset=ISO-8859-1
I've created a template that's intended for use on feedback pages
where users report lots of bugs and issues:
http://www.mediawiki.org/wiki/Template:Tracked
This could be useful in helping non-technical users quickly understand
the status of issues that are being reported on-wiki.
However, it would be even more useful if the bug status could be
automatically regularly updated according to what's in Bugzilla.
Is there a bot already that can update bugzilla status information in
wiki pages? If not, is anyone in the list up for taking a crack at it?
Thanks :)
Erik
--
Erik M?ller
VP of Engineering and Product Development, Wikimedia Foundation
Support Free Knowledge: http://wikimediafoundation.org/wiki/Donate
------------------------------
Message: 10
Date: Wed, 14 Dec 2011 15:35:14 -0800
From: Brion Vibber <brion@...>
Subject: Re: [Wikibots-l] Bot for updating Bugzilla statuses
To: Wikimedia bot editors discussion <wikibots-l@...>
Message-ID:
<CAFnWYT=t7CsWSSjp2N9fNCLRX2HN30M5jBVvOmaFzcY-YXUVTA@...>
Content-Type: text/plain; charset=UTF-8
On Wed, Dec 14, 2011 at 3:31 PM, Erik Moeller <erik@...> wrote:
> I've created a template that's intended for use on feedback pages
> where users report lots of bugs and issues:
>
> http://www.mediawiki.org/wiki/Template:Tracked
>
> This could be useful in helping non-technical users quickly understand
> the status of issues that are being reported on-wiki.
>
> However, it would be even more useful if the bug status could be
> automatically regularly updated according to what's in Bugzilla.
>
> Is there a bot already that can update bugzilla status information in
> wiki pages? If not, is anyone in the list up for taking a crack at it?
>
>
An alternative on this is to use a gadget or site JS bit to fetch the
status live via Bugzilla's JSON-RPC interface -- that's easiest if all the
pages are centralized in one wiki of course, so may not be ideal for pages
on the other wikis.
-- brion
------------------------------
Message: 11
Date: Thu, 15 Dec 2011 18:40:19 +0100
From: Platonides <platonides@...>
Subject: Re: [Wikibots-l] Bot for updating Bugzilla statuses
To: Wikimedia bot editors discussion <wikibots-l@...>
Message-ID: <4EEA3103.7040607@...>
Content-Type: text/plain; charset=ISO-8859-1
On 15/12/11 00:35, Brion Vibber wrote:
> An alternative on this is to use a gadget or site JS bit to fetch the
> status live via Bugzilla's JSON-RPC interface -- that's easiest if all the
> pages are centralized in one wiki of course, so may not be ideal for pages
> on the other wikis.
>
> -- brion
Or just create an extension which shows the status of a given bug
(connecting to kaulen with read-only credentials).
No dummy bot edits and no need of extra connections. And fits well in
our know-how.
Although perhaps those edits are a *feature*? (so that the change shows
in the watchlist).
In that case, better start reseaching bugzilla hooks and how to call
from the hook the mediawiki perl framework.
------------------------------
Message: 12
Date: Thu, 15 Dec 2011 23:24:56 +0100
From: "Dr. Trigon" <dr.trigon@...>
Subject: Re: [Wikibots-l] Bot for updating Bugzilla statuses
To: wikibots-l@...
Message-ID: <4EEA73B8.6070304@...>
Content-Type: text/plain; charset=ISO-8859-1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It's a litte pitty but currently there is no english doc available for
my 'subster' bot and it is not registred on mediawiki wiki (yet) but on
de:wiki. It does sync or substitiution of e.g. url sources into wiki
pages. So if you really consider doing this - then let me know and we
can setup the bot on mediawiki!
Greetings
DrTrigon
On 15.12.2011 00:31, Erik Moeller wrote:
> I've created a template that's intended for use on feedback pages
> where users report lots of bugs and issues:
>
> http://www.mediawiki.org/wiki/Template:Tracked
>
> This could be useful in helping non-technical users quickly
> understand the status of issues that are being reported on-wiki.
>
> However, it would be even more useful if the bug status could be
> automatically regularly updated according to what's in Bugzilla.
>
> Is there a bot already that can update bugzilla status information
> in wiki pages? If not, is anyone in the list up for taking a crack
> at it?
>
> Thanks :) Erik
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7qc7EACgkQAXWvBxzBrDBqRACg4V1VQH3u4ANHqU4B6Yj33KOU
H24AoORLkErcBhNAJWlEyjPO+GWOEMSY
=HnFP
-----END PGP SIGNATURE-----
------------------------------
Message: 13
Date: Fri, 30 Dec 2011 19:30:56 +0100
From: "Dr. Trigon" <dr.trigon@...>
Subject: Re: [Wikibots-l] Bot for updating Bugzilla statuses
To: wikibots-l@...
Message-ID: <4EFE0360.8060904@...>
Content-Type: text/plain; charset=ISO-8859-1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Now there are english docs available also, at:
http://en.wikipedia.org/wiki/User:DrTrigonBot/Subster
please enjoy. Greetings - DrTrigon
On 15.12.2011 23:24, Dr. Trigon wrote:
> It's a litte pitty but currently there is no english doc available
> for my 'subster' bot and it is not registred on mediawiki wiki
> (yet) but on de:wiki. It does sync or substitiution of e.g. url
> sources into wiki pages. So if you really consider doing this -
> then let me know and we can setup the bot on mediawiki!
>
> Greetings DrTrigon
>
>
> On 15.12.2011 00:31, Erik Moeller wrote:
>> I've created a template that's intended for use on feedback pages
>> where users report lots of bugs and issues:
>
>> http://www.mediawiki.org/wiki/Template:Tracked
>
>> This could be useful in helping non-technical users quickly
>> understand the status of issues that are being reported on-wiki.
>
>> However, it would be even more useful if the bug status could be
>> automatically regularly updated according to what's in
>> Bugzilla.
>
>> Is there a bot already that can update bugzilla status
>> information in wiki pages? If not, is anyone in the list up for
>> taking a crack at it?
>
>> Thanks :) Erik
>
>
>
> _______________________________________________ Wikibots-l mailing
> list Wikibots-l@...
> https://lists.wikimedia.org/mailman/listinfo/wikibots-l
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7+A1QACgkQAXWvBxzBrDCsbwCg257rRhI/AIo9v2nkIzMwJ5kX
MlwAnRFAfw1z7RrpPsDbYl0VFDqgNb48
=C4vF
-----END PGP SIGNATURE-----
------------------------------
_______________________________________________
Wikibots-l mailing list
Wikibots-l@...
https://lists.wikimedia.org/mailman/listinfo/wikibots-l
End of Wikibots-l Digest, Vol 35, Issue 1
*****************************************
--
--
維基百科 - 人人可編輯的自由百科
通 過 郵 件 和 新 聞 組 發 言 ﹙發 言 請 用 純 文 本﹚ :
zh_wikipedia ﹙AT﹚ googlegroups ﹙DOT﹚ com
news://news.gmane.org/gmane.org.user-groups.wikipedia.chinese
twitter : @wmhk @wikinews @zhwiki_dyk @zhwiki_newpages @wikimedia
維 基 百 科 群 組 瀏 覽 訂 閱 與 取 消 :
﹙ 新 ﹚ httpS://groups.google.com/forum/#forum/zh_wikipedia
httpS://groups.google.com/group/zh_wikipedia/subscribe
httpS://groups.google.com/group/zh_wikipedia/boxsubscribe