Don't use $wgServer (potentially protocol-relative!) in the password reset e-mail...
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 5 Sep 2011 19:29:20 +0000 (19:29 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 5 Sep 2011 19:29:20 +0000 (19:29 +0000)
commit1bc68932af24191beb2729f6fa2b6d46977da3dd
tree77066f296f6bb0e8a1283dcc42f6f80a43948a89
parentc7a856ff2e91e4032041cc26bc27c5a11f39d8e8
Don't use $wgServer (potentially protocol-relative!) in the password reset e-mail. The documentation calls for $4 to be "the base URL of the wiki" and the code was using $wgServer . $wgScript which produces the URL to index.php , so I decided to use the URL to the Main Page instead. This avoids using globals and doesn't suffer from mixed URL structure issues on secure.wm.o
includes/specials/SpecialPasswordReset.php