[Mediawiki-l] Logging out, then getting logged back in.

Pat Grant noop at alcopedia.net
Mon Mar 19 13:26:48 UTC 2007


Hello folks!

I have a rather strange problem which if anyone is in the know about the inner workings of the Mediawiki logging in/out system could help me with, i'd be truely greatful.

I've been tinkering with a PunBB(www.punbb.org) integration script which uses the AutoAuthenticate hook.. and it all works fine in general practise, allowing me to login and logout of the forums and the wiki correctly. The problem occurs when I try to change my preferences. If I attempt to log out directly after changing my preferences, on the logout page I'm displayed as logged out, however if I navigate from the logout page to the Main_Page it logs me back in again.

The even stranger thing is, that if I don't go from the logout page to the main page, say if I go from the logout page to the recent changes page, it works correctly and doesn't log me back in. I only seem to get this behaviour when two conditions are true:

*I have pressed the logout button after changing my preferences.
*I go directly from the "Logged Out" page to the Main_Page.

Everything else works fine.. could anyone shed some light on this? As I've been trying to fix it and it's driving me mad. The source for the extension i'm using can be viewed at http://www.noopectro.com/PunBBAuth_2.phps 


More information about the MediaWiki-l mailing list