Last modified: 2009-07-25 20:11:19 UTC
SpecialUserlogin.php using wgLang to ignore a returnto=Special:Userlogout, this fails for user with an other language than the content. I think it is better to use wgContLang for the code in SpecialUserlogin.php: # When switching accounts, it sucks to get automatically logged out if( $this->mReturnTo == $wgLang->specialPage( 'Userlogout' ) ) { $this->mReturnTo = ''; } You can test it by setlang!=en on translatewiki an than try to login, when there is a returnto=Special:UserLogout in the url
This should check with SpecialPage::resolveAlias() or such rather, so all aliases are caught.
Please also normalize the parameter 'returnto'.
fixed in r53763.