Last modified: 2010-05-15 15:48:23 UTC
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.
If you don't mind, could you elaborate on why this request is inappropriate? It seems that MediaWiki is extensible and configurable. This feature could be implemented with an if and a return on a hook call. And our users are annoyed that they have to click and extra link to get to the desired page. Since I'm new to this community, I'm a bit at a loss about what is an acceptable request.
*** This bug has been marked as a duplicate of 7129 ***
Thanks for the clarification.