Extension talk:HttpsLogin

Latest comment: 15 years ago by Nephele in topic Code Fix

Can't Login

edit

I am trying to login into my wiki with this extension but It won't log me in. I installed the extension correctly and successfully and checked by wiki's version page and everything is in order. When I click on Login, It works and it shows https. The only problem is when It click the Login button after putting in all my Login Info, Nothing happens. --'Truetech (Talk)   MediaWiki Support Team 22:11, 31 August 2008 (UTC)Reply

Code Fix

edit

The current code does not work with URLs such as "wiki/Special:UserLogin" -- only with URLs such as "w/index.php?title=Special:UserLogin". To fix this problem simply requires changing one line of the code, specifically where $pageTitle is set. The current code uses:

$pageTitle = array_key_exists('title', $_GET)
                 ? $_GET['title']
                 : "";

The last line just needs to be changed to obtain the page title even if it's not set through the GET arguments:

$pageTitle = array_key_exists('title', $_GET)
                 ? $_GET['title']
                 : basename($_SERVER['REQUEST_URI']);

--Nephele 23:34, 21 April 2009 (UTC)Reply

Special:Passwort_ändern doesn't work

edit

Hello,

the german translation for "ChangePassword" is "Passwort_ändern", but nothing of the following works:

-1 => array( 'Passwort_%E4ndern', 'Passwort_%C3%A4ndern', 'Passwort_ändern', 'Passwort_*'),


Stefan

Return to "HttpsLogin" page.