Yes they do. I am actually logging in as a sysop for test purposes.
I do not think that the api is reading the cookies.
Mary Beebe
-----Original Message----- From: mediawiki-api-bounces@lists.wikimedia.org [mailto:mediawiki-api-bounces@lists.wikimedia.org] On Behalf Of Platonides Sent: Tuesday, June 09, 2009 12:54 PM To: MediaWiki API announcements & discussion Subject: Re: [Mediawiki-api] login with api.
Beebe, Mary J wrote:
I am using api.php?action=login... I run the login command from my java class and it returns successfully. I create the cookies manually as suggested in http://www.mediawiki.org/wiki/API:Login. Within firefox I do show cookies and they are listed under localhost.
Immediately after the login statement I run an api query with "list=categorymembers."
If I have $wgGroupPermissions['*']['read'] = false;, I receive an error.
So my login does not seem to be working.
Thanks for any assistance.
**/Mary Beebe/**
I assume the missing ] is a typo. Does the user trying to log in have the read right from another group? Ie. does $wgGroupPermissions['user']['read'] = true; ?
_______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api