Removed deprecated WebRequest::escapeAppendQuery()
authorwithoutaname <drevitchi@gmail.com>
Mon, 16 Jun 2014 07:24:52 +0000 (00:24 -0700)
committerwithoutaname <drevitchi@gmail.com>
Fri, 20 Jun 2014 22:11:03 +0000 (15:11 -0700)
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
includes/WebRequest.php

index 20c7000..6c381bb 100644 (file)
@@ -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
index a703b64..ce9fecd 100644 (file)
@@ -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