Author: fernandoacorreia
Description:
In function successfulLogin() of SpecialUserlogin, allow redirecting directly to
$this->mReturnTo.
Some wiki administrators might consider the intermediary informative screen
(login successful) to be superfluous, and that a better user experience would be
to show them the page they want directly. The users would know the login
succeeded because the page would appear and because their name would be on the
top bar.
Proposed solutions:
(a) Have a global configuration variable like wgRedirectAfterLogin and when this
variable is true, just output the page instead of calling $wgOut->returnToMain.
(b) Allow the UserLoginComplete hook function to return false to abort the
postprocessing; in this case the hook could implement the desired behavior.
Version: 1.9.x
Severity: normal
OS: Windows XP
Platform: PC