It is showing anonymous:
<userinfo id="0" name="131.167.170.97" anon="" />
In
http://www.mediawiki.org/wiki/API:Login
Under "Constructing Cookies Manually" it says
"A successful action=login request will set the right cookies." But I am trying
to construct my own cookies following the information below that.
I have these cookies:
defaultdb_session
defaultdbToken
defaultdbUserID
defaultdbUserName
The cookies are under localhost. Could that be a problem?
I also see: "the cookie set by this request must be passed." I am not passing
anything.
Mary Beebe
-----Original Message-----
From: mediawiki-api-bounces(a)lists.wikimedia.org
[mailto:mediawiki-api-bounces@lists.wikimedia.org] On Behalf Of Beebe, Mary J
Sent: Tuesday, June 09, 2009 2:01 PM
To: MediaWiki API announcements & discussion
Subject: Re: [Mediawiki-api] login with api.
Great idea - I ran that manually and it seems to be what I need. I am now trying to put
it into my code, but keep getting distracted. Platonides said the same thing.
Thanks,
Mary Beebe
-----Original Message-----
From: mediawiki-api-bounces(a)lists.wikimedia.org
[mailto:mediawiki-api-bounces@lists.wikimedia.org] On Behalf Of Roan Kattouw
Sent: Tuesday, June 09, 2009 1:55 PM
To: MediaWiki API announcements & discussion
Subject: Re: [Mediawiki-api] login with api.
2009/6/9 Beebe, Mary J <BeebeM(a)battelle.org>rg>:
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.
To verify, please run a meta=userinfo query right after logging in and
post the results here.
Roan Kattouw (Catrope)
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api