From: Kunal Mehta Date: Thu, 4 Jan 2018 08:21:05 +0000 (-0800) Subject: Remove deprecated back-compat HtmlFormatter class X-Git-Tag: 1.31.0-rc.0~999^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=182cada0da1d994a04179a23082007218a9c2803 Remove deprecated back-compat HtmlFormatter class Change-Id: I9325ae046997812c607e93896e108053edca76d5 --- diff --git a/RELEASE-NOTES-1.31 b/RELEASE-NOTES-1.31 index 4eb4c013be..d18c5cf0ea 100644 --- a/RELEASE-NOTES-1.31 +++ b/RELEASE-NOTES-1.31 @@ -161,6 +161,8 @@ changes to languages because of Phabricator reports. * The $statementsOnOwnLine parameter of JavaScriptMinifier::minify was removed. The corresponding configuration variable ($wgResourceLoaderMinifierStatementsOnOwnLine) has been deprecated since 1.27 and was removed as well. +* The HtmlFormatter class was removed (deprecated in 1.27). The namespaced + HtmlFormatter\HtmlFormatter class should be used instead. == Compatibility == MediaWiki 1.31 requires PHP 5.5.9 or later. There is experimental support for diff --git a/autoload.php b/autoload.php index af0b2002eb..351136dc3e 100644 --- a/autoload.php +++ b/autoload.php @@ -606,7 +606,6 @@ $wgAutoloadLocalClasses = [ 'Hooks' => __DIR__ . '/includes/Hooks.php', 'Html' => __DIR__ . '/includes/Html.php', 'HtmlArmor' => __DIR__ . '/includes/libs/HtmlArmor.php', - 'HtmlFormatter' => __DIR__ . '/includes/HtmlFormatter.php', 'Http' => __DIR__ . '/includes/http/Http.php', 'HttpError' => __DIR__ . '/includes/exception/HttpError.php', 'HttpStatus' => __DIR__ . '/includes/libs/HttpStatus.php', diff --git a/includes/HtmlFormatter.php b/includes/HtmlFormatter.php deleted file mode 100644 index 9bae8b5fef..0000000000 --- a/includes/HtmlFormatter.php +++ /dev/null @@ -1,25 +0,0 @@ -