https://bugzilla.wikimedia.org/show_bug.cgi?id=18799
Summary: use wgContLang to ignore returnto=Special:UserLogout by
login
Product: MediaWiki
Version: unspecified
Platform: All
URL: http://translatewiki.net/w/i.php?title=Special:UserLogin
&returnto=Special:UserLogout&setlang=de
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: User login/settings
AssignedTo: [email protected]
ReportedBy: [email protected]
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
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l