From 3dc98960cb672807847a75423633e86843cb7ee9 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sat, 28 Jun 2014 15:41:39 +0200 Subject: [PATCH] Remove Title::escapeLocalURL() (deprecated since 1.19) Change-Id: I588e1946f6dc9200261469ae8134f7cf885bba3f --- RELEASE-NOTES-1.24 | 1 + includes/Title.php | 15 --------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/RELEASE-NOTES-1.24 b/RELEASE-NOTES-1.24 index 35ccae3f48..be32915575 100644 --- a/RELEASE-NOTES-1.24 +++ b/RELEASE-NOTES-1.24 @@ -225,6 +225,7 @@ changes to languages because of Bugzilla reports. * Removed Title::updateTitleProtection(). (deprecated since 1.19) * Removed ParserOptions::setSkin(). (deprecated since 1.19) * Removed Title::escapeCanonicalURL(). (deprecated since 1.19) +* Removed Title::escapeLocalURL(). (deprecated since 1.19) ==== Renamed classes ==== * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression diff --git a/includes/Title.php b/includes/Title.php index 62142ea081..3130788ca6 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1775,21 +1775,6 @@ class Title { return $ret; } - /** - * Get an HTML-escaped version of the URL form, suitable for - * using in a link, without a server name or fragment - * - * @see self::getLocalURL for the arguments. - * @param string $query - * @param bool|string $query2 - * @return string The URL - * @deprecated since 1.19 - */ - public function escapeLocalURL( $query = '', $query2 = false ) { - wfDeprecated( __METHOD__, '1.19' ); - return htmlspecialchars( $this->getLocalURL( $query, $query2 ) ); - } - /** * Get an HTML-escaped version of the URL form, suitable for * using in a link, including the server name and fragment -- 2.20.1