That's the documentation I saw and based the patch on, and I think there was a fair amount of general confusion about why it would be documented and not work. So now it does.
On Nov 3, 2007, at 1:29 PM, Roan Kattouw wrote: > Roan Kattouw schreef: >> Yuri Astrakhan schreef: >> >>> Excelente, thx Roan :) >>> Please make sure mw:API docs reflect the new behavior. >>> >>> >> Thanks for reminding me, I'd forgotten. >> > I checked the docs, and it turns out the new behavior is *already* > described there, which is pretty weird: > > In every call to api.php, the three values must either be passed as > additional parameters, or as cookies within the request header. If any > of the login values are given as part of the request, all cookie > values > are ignored. Please note that user name is passed in as '''lgname''', > but returned as normalized '''lgusername'''. The first is used for > authentication, whereas the second may be passed together with > '''lgtoken''' and '''lguserid''' as tokens when making calls to other > modules. > > (from http://www.mediawiki.org/wiki/API:Login ) > > Roan Kattouw > > _______________________________________________ > Mediawiki-api mailing list > [email protected] > http://lists.wikimedia.org/mailman/listinfo/mediawiki-api _______________________________________________ Mediawiki-api mailing list [email protected] http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
