From: Max Semenik Date: Sat, 29 Sep 2018 00:50:10 +0000 (-0700) Subject: Deprecate class LegacyFormatter X-Git-Tag: 1.34.0-rc.0~3959 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=846f600dd0464c593a741e2284e2c2810be3afd6;ds=inline Deprecate class LegacyFormatter No uses anywhere, was used by the now removed function wfErrorLog(). Change-Id: Ib4561157e776c64ab17f014fbd8603b0934acb2c --- diff --git a/RELEASE-NOTES-1.32 b/RELEASE-NOTES-1.32 index f540de5d14..f50ab00c88 100644 --- a/RELEASE-NOTES-1.32 +++ b/RELEASE-NOTES-1.32 @@ -470,6 +470,7 @@ because of Phabricator reports. escaped. * Skin::getDynamicStylesheetQuery() has been deprecated. It always returns action=raw&ctype=text/css which callers should use directly. +* Class LegacyFormatter is deprecated. === Other changes in 1.32 === * (T198811) The following tables have had their UNIQUE indexes turned into diff --git a/includes/debug/logger/monolog/LegacyFormatter.php b/includes/debug/logger/monolog/LegacyFormatter.php index 3cf6e466d2..e16dd4c229 100644 --- a/includes/debug/logger/monolog/LegacyFormatter.php +++ b/includes/debug/logger/monolog/LegacyFormatter.php @@ -28,6 +28,7 @@ use Monolog\Formatter\NormalizerFormatter; * `wfLogDBError` and the former `wfErrorLog` global functions by delegating the formatting to * \MediaWiki\Logger\LegacyLogger. * + * @deprecated since 1.32 * @since 1.25 * @copyright © 2013 Wikimedia Foundation and contributors * @see \MediaWiki\Logger\LegacyLogger