From bfa75b6f45a8943e0a1689ea71914762d5304641 Mon Sep 17 00:00:00 2001 From: withoutaname Date: Mon, 16 Jun 2014 00:24:52 -0700 Subject: [PATCH] Removed deprecated WebRequest::escapeAppendQuery() This function was deprecated in 1.20 and slated for removal in 1.22; there were supposed to be warnings given in 1.21 but there does not seem to be any use of this function otherwise in core. Change-Id: If70a4e2c1509bf3527d5f8960c14115ce4ab713e --- RELEASE-NOTES-1.24 | 1 + includes/WebRequest.php | 11 ----------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/RELEASE-NOTES-1.24 b/RELEASE-NOTES-1.24 index 20c70002bf..6c381bbd95 100644 --- a/RELEASE-NOTES-1.24 +++ b/RELEASE-NOTES-1.24 @@ -166,6 +166,7 @@ changes to languages because of Bugzilla reports. * ResourceLoaderFileModule#getAllStyleFiles now returns all style files and all skin style files used by the module. * Removed getLang() from IContextSource and subclasses. (deprecated since 1.19) +* Removed WebRequest::escapeAppendQuery(). (deprecated since 1.20) ==== Renamed classes ==== * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression diff --git a/includes/WebRequest.php b/includes/WebRequest.php index a703b6415e..ce9fecd692 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -754,17 +754,6 @@ class WebRequest { return $this->appendQueryArray( wfCgiToArray( $query ) ); } - /** - * HTML-safe version of appendQuery(). - * @deprecated: Deprecated in 1.20, warnings in 1.21, remove in 1.22. - * - * @param string $query Query string fragment; do not include initial '?' - * @return string - */ - public function escapeAppendQuery( $query ) { - return htmlspecialchars( $this->appendQuery( $query ) ); - } - /** * @param string $key * @param string $value -- 2.20.1