From: James D. Forrester Date: Fri, 12 Jul 2019 23:42:09 +0000 (-0700) Subject: Hard-deprecate wgProfileOnly, deprecated in 1.23 X-Git-Tag: 1.34.0-rc.0~979 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=7b5619adca3cdff82ca7fa7fa137b8df23d79fdc;p=lhc%2Fweb%2Fwiklou.git Hard-deprecate wgProfileOnly, deprecated in 1.23 Change-Id: I1b66931ca0d3ae3e044b14f5b97dd98861ec5e23 --- diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index 69b2088125..0d90b7cbb4 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -56,6 +56,8 @@ For notes on 1.33.x and older releases, see HISTORY. hard-deprecated. * $wgLocalInterwiki — Setting this instead of $wgLocalInterwikis, deprecated in 1.23, is now hard-deprecated. +* $wgProfileOnly — Setting this, deprecated in 1.23, is now hard-deprecated. + Instead, set the log file in $wgDebugLogGroups['profileoutput']. * … ==== Removed configuration ==== diff --git a/includes/Setup.php b/includes/Setup.php index 71136e050b..420298504f 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -626,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 = ''; }