https://bugzilla.wikimedia.org/show_bug.cgi?id=225

Niklas Laxström <niklas.laxst...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |niklas.laxst...@gmail.com

--- Comment #19 from Niklas Laxström <niklas.laxst...@gmail.com> 2010-10-30 
14:36:32 UTC ---
For non-wmf wikis this seems to work very well:

$wgHooks['GetLocalURL'][] = 'httpsLogin';
function httpsLogin( &$title, &$url, $query ) {
    global $wgServer;
    if ( $title->equals( SpecialPage::getTitleFor( 'Userlogin' ) ) ) {
        $url = preg_replace( '~^http://~', 'https://', $wgServer . $url );
    }
  return true;
}

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to