Anomie has uploaded a new change for review.

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

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: I79840a6093afbfc97e668aa3200ade72a15b784d
---
M api/ApiDeleteContest.php
M api/ApiMailContestants.php
M api/ApiQueryChallenges.php
M api/ApiQueryContestComments.php
M api/ApiQueryContestants.php
M api/ApiQueryContests.php
6 files changed, 0 insertions(+), 40 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Contest 
refs/changes/57/184657/1

diff --git a/api/ApiDeleteContest.php b/api/ApiDeleteContest.php
index cf85e38..3e85308 100644
--- a/api/ApiDeleteContest.php
+++ b/api/ApiDeleteContest.php
@@ -98,8 +98,4 @@
                );
        }
 
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }
-
 }
diff --git a/api/ApiMailContestants.php b/api/ApiMailContestants.php
index d782319..6df6346 100644
--- a/api/ApiMailContestants.php
+++ b/api/ApiMailContestants.php
@@ -189,8 +189,4 @@
                );
        }
 
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }
-
 }
diff --git a/api/ApiQueryChallenges.php b/api/ApiQueryChallenges.php
index 7ae6e82..d016a65 100644
--- a/api/ApiQueryChallenges.php
+++ b/api/ApiQueryChallenges.php
@@ -63,12 +63,4 @@
                        
'api.php?action=query&list=challenges&chcontestid=42&chprops=id|contest_id|title',
                );
        }
-
-       /**
-        * (non-PHPdoc)
-        * @see includes/api/ApiBase#getVersion()
-        */
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }
 }
diff --git a/api/ApiQueryContestComments.php b/api/ApiQueryContestComments.php
index a3b7075..52f6760 100644
--- a/api/ApiQueryContestComments.php
+++ b/api/ApiQueryContestComments.php
@@ -63,12 +63,4 @@
                        
'api.php?action=query&list=contestcomments&cocoprops=id|text&cocouser_id=42',
                );
        }
-
-       /**
-        * (non-PHPdoc)
-        * @see includes/api/ApiBase#getVersion()
-        */
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }
 }
diff --git a/api/ApiQueryContestants.php b/api/ApiQueryContestants.php
index c8a9bdd..d632faa 100644
--- a/api/ApiQueryContestants.php
+++ b/api/ApiQueryContestants.php
@@ -63,12 +63,4 @@
                        
'api.php?action=query&list=contestants&ctprops=id|rating&ctcontest_id=42',
                );
        }
-
-       /**
-        * (non-PHPdoc)
-        * @see includes/api/ApiBase#getVersion()
-        */
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }
 }
diff --git a/api/ApiQueryContests.php b/api/ApiQueryContests.php
index 246d2bb..10136b4 100644
--- a/api/ApiQueryContests.php
+++ b/api/ApiQueryContests.php
@@ -63,12 +63,4 @@
                        'api.php?action=query&list=contests&costatus=1',
                );
        }
-
-       /**
-        * (non-PHPdoc)
-        * @see includes/api/ApiBase#getVersion()
-        */
-       public function getVersion() {
-               return __CLASS__ . ': $Id$';
-       }
 }

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

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