-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10-06-07 02:05 PM, Jools Wills wrote:
Indeed
MediaWiki::API doesn't seems to support basic auth. Just try
to use "https://user:pass@example.com/w/api.php" as your api_url. If
this doesn't work, you may have to hack MediaWiki::API to honor
the $ua->credentials setting in LWP::UserAgent.
it should support http auth - you do as you have just said here. Should
work fine. If not, please open a bug about it. You can also modify the
$ua object as needed after creating an instance of MediaWiki::API.
I also added easy-to-use support to MediaWiki::Bot in r303:
http://code.google.com/p/perlwikipedia/source/detail?r=303
- -Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkwNJ1cACgkQst0AR/DaKHt66wCgvz10UGS7zlvErHnXDkOI34Ps
T1sAoNeNCjfWNzIoIhvq1T48Cm6n9smm
=cKBU
-----END PGP SIGNATURE-----