Anomie has uploaded a new change for review.

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

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: I1868f4f9f74e16745e7618abb5da96a05139133d
---
M api/ApiImportTranslationMemories.php
M api/ApiLiveTranslate.php
M api/ApiQueryLiveTranslate.php
M api/ApiQueryTranslationMemories.php
4 files changed, 2 insertions(+), 18 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/LiveTranslate 
refs/changes/64/184664/1

diff --git a/api/ApiImportTranslationMemories.php 
b/api/ApiImportTranslationMemories.php
index 8edb271..23f0bd9 100644
--- a/api/ApiImportTranslationMemories.php
+++ b/api/ApiImportTranslationMemories.php
@@ -187,10 +187,6 @@
                        
'api.php?action=importtms&source=http://localhost/tmx.xml',
                        
'api.php?action=importtms&source=http://localhost/tmx.xml|http://localhost/google.csv|Live
 Translate Dictionary',
                );
-       }       
-       
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }               
+       }
        
 }
\ No newline at end of file
diff --git a/api/ApiLiveTranslate.php b/api/ApiLiveTranslate.php
index b378715..6e4072d 100644
--- a/api/ApiLiveTranslate.php
+++ b/api/ApiLiveTranslate.php
@@ -121,10 +121,6 @@
                return array(
                        
'api.php?action=livetranslate&from=English&to=Dutch&words=In|Your|Example',
                );
-       }       
-       
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }               
+       }
        
 }
diff --git a/api/ApiQueryLiveTranslate.php b/api/ApiQueryLiveTranslate.php
index e8b9727..7a787b1 100644
--- a/api/ApiQueryLiveTranslate.php
+++ b/api/ApiQueryLiveTranslate.php
@@ -130,9 +130,5 @@
                        'api.php?action=query&list=livetranslate&ltlanguage',
                );
        }
-
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }       
        
 }
diff --git a/api/ApiQueryTranslationMemories.php 
b/api/ApiQueryTranslationMemories.php
index a30c4e5..584c701 100644
--- a/api/ApiQueryTranslationMemories.php
+++ b/api/ApiQueryTranslationMemories.php
@@ -139,9 +139,5 @@
                        'api.php?action=query&list=translationmemories',
                );
        }
-
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }       
        
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1868f4f9f74e16745e7618abb5da96a05139133d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LiveTranslate
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