Anomie has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/184684

Change subject: Remove long-deprecated ApiBase::getVersion()
......................................................................

Remove long-deprecated ApiBase::getVersion()

This method has been deprecated and uncalled since MediaWiki 1.21. Once
earlier versions of MediaWiki are no longer supported, this should be
merged to remove the method.

Bug: T35287
Change-Id: Ia714bd8929f15dd92956086cb415789ad22fd35c
---
M includes/api/ApiWikiData.php
M includes/api/ApiWikiDataFormatXml.php
M includes/api/owAddAnnotation.php
M includes/api/owAddDefinition.php
M includes/api/owAddSyntrans.php
M includes/api/owAddToCollection.php
M includes/api/owDefine.php
M includes/api/owExpress.php
M includes/api/owSyntrans.php
9 files changed, 0 insertions(+), 43 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiLexicalData 
refs/changes/84/184684/1

diff --git a/includes/api/ApiWikiData.php b/includes/api/ApiWikiData.php
index e7b09ed..e10bcfe 100644
--- a/includes/api/ApiWikiData.php
+++ b/includes/api/ApiWikiData.php
@@ -435,10 +435,6 @@
                );
        }
 
-       public function getVersion() {
-               return __CLASS__ . ': $Id: $';
-       }
-
        public function collection( $collection_id, $languages ) {
                $id_safe = mysql_real_escape_string( $collection_id );
 
diff --git a/includes/api/ApiWikiDataFormatXml.php 
b/includes/api/ApiWikiDataFormatXml.php
index 7264648..876909d 100644
--- a/includes/api/ApiWikiDataFormatXml.php
+++ b/includes/api/ApiWikiDataFormatXml.php
@@ -208,9 +208,5 @@
                return 'Output WikiData defined meaning in XML format' . parent 
:: getDescription();
        }
 
-       public function getVersion() {
-               return __CLASS__ . ': $Id: $';
-       }
-
 }
 ?>
diff --git a/includes/api/owAddAnnotation.php b/includes/api/owAddAnnotation.php
index 3da0531..c354e1b 100644
--- a/includes/api/owAddAnnotation.php
+++ b/includes/api/owAddAnnotation.php
@@ -303,11 +303,6 @@
                return true;
        }
 
-       // Version
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }
-
        // Description
        public function getDescription() {
                return 'Add annotations to Omegawiki.' ;
diff --git a/includes/api/owAddDefinition.php b/includes/api/owAddDefinition.php
index 3ab8770..90979b4 100644
--- a/includes/api/owAddDefinition.php
+++ b/includes/api/owAddDefinition.php
@@ -78,11 +78,6 @@
                return true;
        }
 
-       // Version
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }
-
        // Description
        public function getDescription() {
                return 'Add definitions to Omegawiki.' ;
diff --git a/includes/api/owAddSyntrans.php b/includes/api/owAddSyntrans.php
index ecc9c26..8deae41 100644
--- a/includes/api/owAddSyntrans.php
+++ b/includes/api/owAddSyntrans.php
@@ -107,11 +107,6 @@
                return true;
        }
 
-       // Version
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }
-
        // Description
        public function getDescription() {
                return 'Add expressions, synonyms/translations to Omegawiki.' ;
diff --git a/includes/api/owAddToCollection.php 
b/includes/api/owAddToCollection.php
index 6a79589..477de84 100644
--- a/includes/api/owAddToCollection.php
+++ b/includes/api/owAddToCollection.php
@@ -87,11 +87,6 @@
                return true;
        }
 
-       // Version
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }
-
        // Description
        public function getDescription() {
                return 'Add annotations to Omegawiki.' ;
diff --git a/includes/api/owDefine.php b/includes/api/owDefine.php
index 94cfff9..20284cf 100644
--- a/includes/api/owDefine.php
+++ b/includes/api/owDefine.php
@@ -153,11 +153,6 @@
                return $define;
        }
 
-       // Version
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }
-
        // Description
        public function getDescription() {
                return 'Get the definition of a defined meaning.' ;
diff --git a/includes/api/owExpress.php b/includes/api/owExpress.php
index 0dce710..b87674c 100644
--- a/includes/api/owExpress.php
+++ b/includes/api/owExpress.php
@@ -107,11 +107,6 @@
                return $express;
        }
 
-       // Version
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }
-
        // Description
        public function getDescription() {
                return 'Returns information about the concepts ( DefinedMeaning 
) and definitions of a given expression.' ;
diff --git a/includes/api/owSyntrans.php b/includes/api/owSyntrans.php
index 31ac334..8807a65 100644
--- a/includes/api/owSyntrans.php
+++ b/includes/api/owSyntrans.php
@@ -138,11 +138,6 @@
                return true;
        }
 
-       // Version
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }
-
        // Description
        public function getDescription() {
                return 'Returns information about the synonyms and translations 
of a given concept (DefinedMeaningId)' ;

-- 
To view, visit https://gerrit.wikimedia.org/r/184684
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia714bd8929f15dd92956086cb415789ad22fd35c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiLexicalData
Gerrit-Branch: master
Gerrit-Owner: Anomie <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to