Page MenuHomePhabricator

Allow skipping intermediary page after login
Closed, ResolvedPublic

Description

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

Details

Reference
bz9154

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:36 PM
bzimport set Reference to bz9154.
bzimport added a subscriber: Unknown Object (MLST).

fernandoacorreia wrote:

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.

ayg wrote:

*** This bug has been marked as a duplicate of 7129 ***

fernandoacorreia wrote:

Thanks for the clarification.