Include miscellaneous query parameters in $wgSecureLogin redirect
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 16 Oct 2013 14:29:39 +0000 (10:29 -0400)
committerAnomie <bjorsch@wikimedia.org>
Wed, 16 Oct 2013 15:26:29 +0000 (15:26 +0000)
commitcbbac8cfe09ab30a2837ba300e83199561089ca9
tree28f7bd5facfeeb93f49c3962c6bac7396905b6e9
parent4bf9d1c5fb5c2618654fbcf0b0266b8fdfedb987
Include miscellaneous query parameters in $wgSecureLogin redirect

The redirect from http to https should include any extra query
parameters, such as the ones for "campaigns".

But we still want to override returnto and returntoquery (in case they
were changed in ::load(), e.g. lines 139–140), and we omit any 'title'
parameter that may have been passed.

Bug: 55761
Change-Id: Icc8b4132e8682d782b0c049631328b94745eb355
includes/specials/SpecialUserlogin.php