Remove ApiQueryBase::getDirectionDescription()
authorReedy <reedy@wikimedia.org>
Sun, 20 Dec 2015 17:03:34 +0000 (17:03 +0000)
committerLegoktm <legoktm.wikipedia@gmail.com>
Mon, 21 Dec 2015 02:08:16 +0000 (02:08 +0000)
Deprecated since 1.25

Moved some other API related removal notices

Change-Id: Ibbff6092a10df33f1641f18946765d0032199308

RELEASE-NOTES-1.27
includes/api/ApiQueryBase.php

index daa1b8f..f674d59 100644 (file)
@@ -140,9 +140,10 @@ production.
 ** ApiFormatDbg
 ** ApiFormatTxt
 ** ApiFormatYaml
-* ApiQueryBase::getDirectionDescription is now marked as deprecated. It should
-  have been so marked since 1.25 when ApiBase::getParamDescription was
-  deprecated, but was overlooked at the time.
+* ApiQueryBase::titleToKey(), ApiQueryBase::keyToTitle() and
+  ApiQueryBase::keyPartToTitle() all removed (deprecated since 1.24).
+* ApiQueryBase::checkRowCount() was removed (deprecated since 1.24).
+* ApiQueryBase::getDirectionDescription() was removed (deprecated since 1.25).
 
 === Languages updated in 1.27 ===
 
@@ -189,9 +190,6 @@ changes to languages because of Phabricator reports.
 * OutputPage::loginToUse() was removed (deprecated since 1.19).
 * Article::loadContent() was removed (deprecated since 1.19).
 * User::editToken() was removed (deprecated since 1.19).
-* ApiQueryBase::titleToKey(), ApiQueryBase::keyToTitle() and
-  ApiQueryBase::keyPartToTitle() all removed (deprecated since 1.24).
-* ApiQueryBase::checkRowCount() was removed (deprecated since 1.24).
 
 == Compatibility ==
 
index 76bbc5d..77fcc61 100644 (file)
@@ -581,27 +581,4 @@ abstract class ApiQueryBase extends ApiBase {
        }
 
        /**@}*/
-
-       /************************************************************************//**
-        * @name   Deprecated
-        * @{
-        */
-
-       /**
-        * Gets the personalised direction parameter description
-        *
-        * @deprecated since 1.25 along with ApiBase::getParamDescription
-        * @param string $p ModulePrefix
-        * @param string $extraDirText Any extra text to be appended on the description
-        * @return array
-        */
-       public function getDirectionDescription( $p = '', $extraDirText = '' ) {
-               return array(
-                       "In which direction to enumerate{$extraDirText}",
-                       " newer          - List oldest first. Note: {$p}start has to be before {$p}end.",
-                       " older          - List newest first (default). Note: {$p}start has to be later than {$p}end.",
-               );
-       }
-
-       /**@}*/
 }