Hello
We have a mediawiki installation that we are using to maintain
biodiveristy information.
I want to write a custom bot which goes through a bunch of pages and
makes some trivial changes periodically.
I am trying to write a bot to do this and I am using BasicBot class
along with Snoopy (description is here :
http://wikisum.com/w/User:Adam/Creating_MediaWiki_bots_in_PHP)
From the log files I can see that my bot logins
successfully and gets
a cookie brahma_session=VERY_LONG_HEX_NUMBER
However, when he bot tries to use this cookie to login, it fails. I
verified that apache receives the cookie but for some reason mediawiki
does not recognize it and throws "login failure (or user not logged in
to make change)" kind of error. Hence the bot fails to do any change.
Can anyone help me diagnose whats going wrong here ? Any help will be
greatly appreciated.
Thanks,
Alok