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
