X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FSetup.php;h=420298504f0d942d8322962c756e231444ba83fc;hb=8699880aab6f666f902b8d8927325760adfe7c20;hp=45a2456c97d44d7944823b26abe5c5b4236518cd;hpb=1658b2b26bcb03a5a408d9375c53e6619c3a2dbe;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Setup.php b/includes/Setup.php index 45a2456c97..420298504f 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -393,6 +393,8 @@ $wgDefaultUserOptions['watchlistdays'] = min( unset( $rcMaxAgeDays ); if ( $wgSkipSkin ) { + // Hard deprecated in 1.34. + wfDeprecated( '$wgSkipSkin – use $wgSkipSkins instead', '1.23' ); $wgSkipSkins[] = $wgSkipSkin; } @@ -400,6 +402,8 @@ $wgSkipSkins[] = 'fallback'; $wgSkipSkins[] = 'apioutput'; if ( $wgLocalInterwiki ) { + // Hard deprecated in 1.34. + wfDeprecated( '$wgLocalInterwiki – use $wgLocalInterwikis instead', '1.23' ); array_unshift( $wgLocalInterwikis, $wgLocalInterwiki ); } @@ -622,6 +626,11 @@ if ( $wgCookieSecure === 'detect' ) { } if ( $wgProfileOnly ) { + // Hard deprecated in 1.34. + wfDeprecated( + '$wgProfileOnly set the log file in $wgDebugLogGroups[\'profileoutput\'] instead', + '1.23' + ); $wgDebugLogGroups['profileoutput'] = $wgDebugLogFile; $wgDebugLogFile = ''; }