(bug 31040) Fixed $wgSecureLogin effect on returnto.
authorTyler Romeo <tylerromeo@gmail.com>
Fri, 10 Aug 2012 18:59:08 +0000 (14:59 -0400)
committerTyler Anthony Romeo <tylerromeo@gmail.com>
Mon, 13 Aug 2012 12:53:43 +0000 (08:53 -0400)
commit4893afd833335ed6758186e93114407f7eac5681
treec4e5d564e25dde52e1fd3a441fa8e1d9ccbdcade
parent3f497ed0a804a080e884cb07fe711cb69cd1b9e6
(bug 31040) Fixed $wgSecureLogin effect on returnto.

Added parameter to Title::getFullURL to allow specification
of a protocol rather than assuming PROTO_RELATIVE. Also
added an accompanying parameter to Skin::makeSpecialUrl
to make a link for a specific protocol.

Cleaned up the creation of personal URLs in SkinTemplate.php
so that when $wgSecureLogin is enabled, the returnto
query is not lost in the process.

Note: This will only work if $wgServer is set to a
protocol relative URL.

Change-Id: Iba48eb3620fb3a721220364185f7abfd902412d0
Signed-off-by: Tyler Romeo <tylerromeo@gmail.com>
includes/Skin.php
includes/SkinTemplate.php
includes/Title.php