2009/6/9 Beebe, Mary J <[email protected]>:
> 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.
>
Can you provide more details? Which wiki are you trying to log into?
How are you building the cookies? If you run a meta=userinfo query
after logging in, what does it return?

Roan Kattouw (Catrope)

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to