X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FSetup.php;h=83ca516f06e40e75c0aa9ee1080f22bdd39562c8;hb=c399e0073c458a36e6e7a0c3f9b9ba374c2a9ed0;hp=baf7b355064cd7d0172bec053153cfa2480e6cc0;hpb=374a8c4823f83e7f657a52b053aa07416f1c5a9f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Setup.php b/includes/Setup.php index baf7b35506..83ca516f06 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -317,12 +317,6 @@ if ( $wgUseFileCache || $wgUseSquid ) { $wgDebugToolbar = false; } -# $wgAllowRealName and $wgAllowUserSkin were removed in 1.16 -# in favor of $wgHiddenPrefs, handle b/c here -if ( !$wgAllowRealName ) { - $wgHiddenPrefs[] = 'realname'; -} - # Doesn't make sense to have if disabled. if ( !$wgEnotifMinorEdits ) { $wgHiddenPrefs[] = 'enotifminoredits'; @@ -332,9 +326,6 @@ if ( !$wgEnotifMinorEdits ) { foreach( $wgDisabledActions as $action ){ $wgActions[$action] = false; } -if( !$wgAllowPageInfo ){ - $wgActions['info'] = false; -} if ( !$wgHtml5Version && $wgHtml5 && $wgAllowRdfaAttributes ) { # see http://www.w3.org/TR/rdfa-in-html/#document-conformance @@ -372,7 +363,7 @@ if ( $wgNewUserLog ) { } if ( $wgCookieSecure === 'detect' ) { - $wgCookieSecure = ( WebRequest::detectProtocol() === 'https:' ); + $wgCookieSecure = ( WebRequest::detectProtocol() === 'https' ); } // Disable MWDebug for command line mode, this prevents MWDebug from eating up