2009/5/31 Colonna Francois colonna@lct.jussieu.fr:
What can I do to tell wget which user is sending a request. I tried
wget --post-data='user=colonna&password=...&action...&format=xml' -O - 'http://localhost/~wiki/mediawiki/api.php' > T.xml
I still have :
Action 'move' is not allowed for the current user
Thanks for helping. Francois Colonna
You have to login first and pass the cookies you received; I'm not sure this is something wget can do, so you might wanna look for a more advanced client library that supports this. There are even dedicated client libraries for the MediaWiki API, see http://www.mediawiki.org/wiki/API:Client_Code .
Roan Kattouw (Catrope)