From db2be3a5745634a269e33529845f79c25a890dc6 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Thu, 10 Jul 2014 18:57:29 +0200 Subject: [PATCH] Remove Title::getEscapedText() (deprecated since 1.19) Change-Id: I54dfbe024fee9e82f99a394f7f41141761375ca4 --- RELEASE-NOTES-1.24 | 1 + includes/Title.php | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/RELEASE-NOTES-1.24 b/RELEASE-NOTES-1.24 index 00e4b747dd..58445ff523 100644 --- a/RELEASE-NOTES-1.24 +++ b/RELEASE-NOTES-1.24 @@ -229,6 +229,7 @@ changes to languages because of Bugzilla reports. * Removed Title::escapeLocalURL(). (deprecated since 1.19) * Removed Title::escapeFullURL(). (deprecated since 1.19) * Removed User::isValidEmailAddr(). (deprecated since 1.18) +* Removed Title::getEscapedText(). (deprecated since 1.19) ==== Renamed classes ==== * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression diff --git a/includes/Title.php b/includes/Title.php index a49d52fe7b..477373a4f6 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1546,18 +1546,6 @@ class Title { return Title::makeTitleSafe( $this->getNamespace(), $this->getText() . '/' . $text ); } - /** - * Get the HTML-escaped displayable text form. - * Used for the title field in tags. - * - * @return string The text, including any prefixes - * @deprecated since 1.19 - */ - public function getEscapedText() { - wfDeprecated( __METHOD__, '1.19' ); - return htmlspecialchars( $this->getPrefixedText() ); - } - /** * Get a URL-encoded form of the subpage text * -- 2.20.1