Deprecate WebRequest::escapeAppendQuery()
authorMax Semenik <maxsem.wiki@gmail.com>
Tue, 24 Apr 2012 20:05:10 +0000 (00:05 +0400)
committerMax Semenik <maxsem.wiki@gmail.com>
Wed, 25 Apr 2012 08:09:01 +0000 (12:09 +0400)
It is an ugly piece of UI-related code in an infrastructure class.
Its only user, MobileFrontend, is currently in process of getting rid of it.

Patchset 2: Fixed commit message

Change-Id: I62f9f707532a95be01c1ecdcb1fbfbd0c4117be6

includes/WebRequest.php

index 9d0e579..39c1b1b 100644 (file)
@@ -671,6 +671,7 @@ class WebRequest {
 
        /**
         * HTML-safe version of appendQuery().
+        * @deprecated: Deprecated in 1.20, warnings in 1.21, remove in 1.22.
         *
         * @param $query String: query string fragment; do not include initial '?'
         * @return String