e.g. you have to restart
your browser and are logged out in the process: all open tabs are
redirected to Special:Userlogin, and you have to log in a dozen times, or
manually edit URLs.

Is there any use case for this scenario why to have a login page when returnto/returntoquery is set and you are already logged in? My idea behind this: You have to reload the page in all cases (with redirect to login and without, with a reload using browser (F5 e.g.) or with a click on login on login page). So maybe the following implementation helps: If you are already logged in and returnto/returntoquery is set, you will be redirect to the returnto location directly without the "you are already loggedin, login with another account" screen. So, to come back to your use case, you login in one tab and hit F5 to all other tabs and will be redirected to the pages you requested as a logged in user.

Just an idea :)

Kind regards
Florian

Am 2014-07-16 00:35, schrieb Gergo Tisza:
On Tue, Jul 15, 2014 at 12:05 PM, Tyler Romeo <[email protected]> wrote:

Yes. Actually, that is existing functionality. Special:Userlogin will
redirect users
if the returnto (and optionally returntoquery) are specified. (The only
exception is if
a hook intervenes).


The other exception is when you are already logged in (in which case you
get a very confusing form telling you to log in as another user). This
change makes that behavior much more annoying when e.g. you have to restart
your browser and are logged out in the process: all open tabs are
redirected to Special:Userlogin, and you have to log in a dozen times, or
manually edit URLs.
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to