From 8cf5c2a37ce8c9bd915c19c8216684d47feea76a Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Thu, 22 Dec 2016 17:31:49 -0800 Subject: [PATCH] Remove deprecated Parser::replaceUnusualEscapes() Deprecated since 1.24, no callers. Change-Id: Ib780f1a7b77d3ce624112f59c8e57820fecb6bf2 --- RELEASE-NOTES-1.29 | 1 + includes/parser/Parser.php | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/RELEASE-NOTES-1.29 b/RELEASE-NOTES-1.29 index 25cb94ab9f..bde15d5afd 100644 --- a/RELEASE-NOTES-1.29 +++ b/RELEASE-NOTES-1.29 @@ -204,6 +204,7 @@ changes to languages because of Phabricator reports. * Article::getContent() (deprecated in 1.21) was removed. * Revision::getText() (deprecated in 1.21) was removed. * Article::doEdit() and WikiPage::doEdit() (deprecated in 1.21) were removed. +* Parser::replaceUnusualEscapes() (deprecated in 1.24) was removed. == Compatibility == diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 79fc1722f9..702a479635 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -1947,18 +1947,6 @@ class Parser { return $attribs; } - /** - * Replace unusual escape codes in a URL with their equivalent characters - * - * @deprecated since 1.24, use normalizeLinkUrl - * @param string $url - * @return string - */ - public static function replaceUnusualEscapes( $url ) { - wfDeprecated( __METHOD__, '1.24' ); - return self::normalizeLinkUrl( $url ); - } - /** * Replace unusual escape codes in a URL with their equivalent characters * -- 2.20.1