From a3a79ef2311f36f3c7f378e43cfaad835c931299 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Fri, 29 Jan 2016 17:16:31 -0800 Subject: [PATCH] Remove ApiBase::getVersion() Deprecated in 1.21, removal does not break old extensions still overriding it. Change-Id: I24028eab8800373410c6b72a74715f3525c2f7ae --- RELEASE-NOTES-1.27 | 1 + includes/api/ApiBase.php | 13 ------------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index 35ce6c2a80..c5356c151c 100644 --- a/RELEASE-NOTES-1.27 +++ b/RELEASE-NOTES-1.27 @@ -209,6 +209,7 @@ production. * ApiQueryBase::getDirectionDescription() was removed (deprecated since 1.25). * ApiQuery::getModules() was removed (deprecated since 1.21). * ApiMain::getModules() was removed (deprecated since 1.21). +* ApiBase::getVersion() was removed (deprecated since 1.21). === Languages updated in 1.27 === diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 425a337193..02720c0acb 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -2522,19 +2522,6 @@ abstract class ApiBase extends ContextSource { /// @deprecated since 1.24 const PROP_NULLABLE = 1; - /** - * Formerly returned a string that identifies the version of the extending - * class. Typically included the class name, the svn revision, timestamp, - * and last author. Usually done with SVN's Id keyword - * - * @deprecated since 1.21, version string is no longer supported - * @return string - */ - public function getVersion() { - wfDeprecated( __METHOD__, '1.21' ); - return ''; - } - /** * Formerly used to fetch a list of possible properites in the result, * somehow organized with respect to the prop parameter that causes them to -- 2.20.1