From: Reedy Date: Sun, 20 Dec 2015 17:03:34 +0000 (+0000) Subject: Remove ApiQueryBase::getDirectionDescription() X-Git-Tag: 1.31.0-rc.0~8600^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=944ff06379ff416b11a50346b7d4abf1fc2222bf;p=lhc%2Fweb%2Fwiklou.git Remove ApiQueryBase::getDirectionDescription() Deprecated since 1.25 Moved some other API related removal notices Change-Id: Ibbff6092a10df33f1641f18946765d0032199308 --- diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index daa1b8f48e..f674d598d3 100644 --- a/RELEASE-NOTES-1.27 +++ b/RELEASE-NOTES-1.27 @@ -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 == diff --git a/includes/api/ApiQueryBase.php b/includes/api/ApiQueryBase.php index 76bbc5d09f..77fcc61a99 100644 --- a/includes/api/ApiQueryBase.php +++ b/includes/api/ApiQueryBase.php @@ -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.", - ); - } - - /**@}*/ }