Anomie has uploaded a new change for review.

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

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: Ie526a57509bbbc1a5a3cdda147ff9c44fd6c94f6
---
M api/ApiAddFlagNoteArticleFeedbackv5.php
M api/ApiArticleFeedbackv5.php
M api/ApiFlagFeedbackArticleFeedbackv5.php
M api/ApiGetCountArticleFeedbackv5.php
M api/ApiSetStatusArticleFeedbackv5.php
M api/ApiViewActivityArticleFeedbackv5.php
M api/ApiViewFeedbackArticleFeedbackv5.php
7 files changed, 0 insertions(+), 63 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ArticleFeedbackv5 
refs/changes/50/184650/1

diff --git a/api/ApiAddFlagNoteArticleFeedbackv5.php 
b/api/ApiAddFlagNoteArticleFeedbackv5.php
index 1ac85a5..d83e558 100644
--- a/api/ApiAddFlagNoteArticleFeedbackv5.php
+++ b/api/ApiAddFlagNoteArticleFeedbackv5.php
@@ -186,15 +186,6 @@
                );
        }
 
-       /**
-        * Gets the version info
-        *
-        * @return string the SVN version info
-        */
-       public function getVersion() {
-               return __CLASS__ . ': version 1.5';
-       }
-
        public function isWriteMode() { return true; }
 
        public function mustBePosted() { return true; }
diff --git a/api/ApiArticleFeedbackv5.php b/api/ApiArticleFeedbackv5.php
index 29a2a63..3c1adfb 100644
--- a/api/ApiArticleFeedbackv5.php
+++ b/api/ApiArticleFeedbackv5.php
@@ -335,13 +335,4 @@
                        'api.php?action=articlefeedbackv5'
                );
        }
-
-       /**
-        * Gets the version info
-        *
-        * @return string the SVN version info
-        */
-       public function getVersion() {
-               return __CLASS__ . ': version 1.5';
-       }
 }
diff --git a/api/ApiFlagFeedbackArticleFeedbackv5.php 
b/api/ApiFlagFeedbackArticleFeedbackv5.php
index 9a6bfc8..4d1dbfd 100644
--- a/api/ApiFlagFeedbackArticleFeedbackv5.php
+++ b/api/ApiFlagFeedbackArticleFeedbackv5.php
@@ -166,15 +166,6 @@
                );
        }
 
-       /**
-        * Gets the version info
-        *
-        * @return string the SVN version info
-        */
-       public function getVersion() {
-               return __CLASS__ . ': version 1.5';
-       }
-
        public function isWriteMode() { return true; }
 
        public function mustBePosted() { return true; }
diff --git a/api/ApiGetCountArticleFeedbackv5.php 
b/api/ApiGetCountArticleFeedbackv5.php
index 962a7bf..6f55fbe 100644
--- a/api/ApiGetCountArticleFeedbackv5.php
+++ b/api/ApiGetCountArticleFeedbackv5.php
@@ -107,13 +107,4 @@
                        
'api.php?action=articlefeedbackv5-get-count&afpageid=1&filter=featured',
                );
        }
-
-       /**
-        * Gets the version info
-        *
-        * @return string the SVN version info
-        */
-       public function getVersion() {
-               return __CLASS__ . ': version 1.5';
-       }
 }
diff --git a/api/ApiSetStatusArticleFeedbackv5.php 
b/api/ApiSetStatusArticleFeedbackv5.php
index fe57052..fe28848 100644
--- a/api/ApiSetStatusArticleFeedbackv5.php
+++ b/api/ApiSetStatusArticleFeedbackv5.php
@@ -147,15 +147,6 @@
                );
        }
 
-       /**
-        * Gets the version info
-        *
-        * @return string the SVN version info
-        */
-       public function getVersion() {
-               return __CLASS__ . ': version 1.5';
-       }
-
        public function isWriteMode() { return true; }
 
        public function mustBePosted() { return true; }
diff --git a/api/ApiViewActivityArticleFeedbackv5.php 
b/api/ApiViewActivityArticleFeedbackv5.php
index dd8cee4..6e629c2 100644
--- a/api/ApiViewActivityArticleFeedbackv5.php
+++ b/api/ApiViewActivityArticleFeedbackv5.php
@@ -280,13 +280,4 @@
                        
'api.php?action=query&list=articlefeedbackv5-view-activity&aafeedbackid=429384108662e9d4e41ab6e275d0392e&aapageid=1',
                );
        }
-
-       /**
-        * Gets the version info
-        *
-        * @return string the SVN version info
-        */
-       public function getVersion() {
-               return __CLASS__ . ': version 1.5';
-       }
 }
diff --git a/api/ApiViewFeedbackArticleFeedbackv5.php 
b/api/ApiViewFeedbackArticleFeedbackv5.php
index e8eed48..d6d2c2c 100644
--- a/api/ApiViewFeedbackArticleFeedbackv5.php
+++ b/api/ApiViewFeedbackArticleFeedbackv5.php
@@ -226,13 +226,4 @@
                        
'api.php?action=query&list=articlefeedbackv5-view-feedback&afvfpageid=1&afvfsort=relevance&afvfsortdirection=ASC&afvffilter=visible-relevant',
                );
        }
-
-       /**
-        * Gets the version info
-        *
-        * @return string the SVN version info
-        */
-       public function getVersion() {
-               return __CLASS__ . ': version 1.5';
-       }
 }

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

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