Remove ApiBase::getVersion()
authorMax Semenik <maxsem.wiki@gmail.com>
Sat, 30 Jan 2016 01:16:31 +0000 (17:16 -0800)
committerMax Semenik <maxsem.wiki@gmail.com>
Sat, 30 Jan 2016 01:16:31 +0000 (17:16 -0800)
Deprecated in 1.21, removal does not break old extensions still overriding
it.

Change-Id: I24028eab8800373410c6b72a74715f3525c2f7ae

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

index 35ce6c2..c5356c1 100644 (file)
@@ -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 ===
 
index 425a337..02720c0 100644 (file)
@@ -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