Oops :))) Now I remember writing something about it. No wonder the
feature looked familiar :)
Still, we should always attempt to keep the docs in sync, especially
when creating new features. We would get plenty of feedback and ideas
to help make it better. The reason it is so hard to add API editing
functionality is because so many other components (hooks) depend on
internal code to behave a certain way, and changing that is very
difficult. Creating new API functionality is very easy, but changing
anything has already proven very difficult as so many client programs
depend on it (e.g. categories parameter, using titles instead of
eititles, etc.)
Thx!
On 11/3/07, Roan Kattouw <roan.kattouw(a)home.nl> 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
Mediawiki-api(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-api