jenkins-bot has submitted this change and it was merged.

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: I5f8660836082d7c6cb763ef6469a8fb88b35a5ea
---
M api/CreateNewPadFromPage.php
M api/DeleteEtherPad.php
M api/EtherPadAuth.php
M api/ForkEtherPad.php
M api/GetContribs.php
M api/GetCurrentUsers.php
M api/GetEtherPadText.php
M api/GetOtherEtherpads.php
M api/KickFromPad.php
9 files changed, 0 insertions(+), 36 deletions(-)

Approvals:
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/api/CreateNewPadFromPage.php b/api/CreateNewPadFromPage.php
index 8cca5cd..bf5c12e 100644
--- a/api/CreateNewPadFromPage.php
+++ b/api/CreateNewPadFromPage.php
@@ -67,9 +67,5 @@
                        
'api.php?action=CreateNewPadFromPage&pageTitle=Main_Page',
                );
        }
-
-       public function getVersion() {
-               return __CLASS__ . ': 0.3.0';
-       }
        // @codeCoverageIgnoreEnd
 }
diff --git a/api/DeleteEtherPad.php b/api/DeleteEtherPad.php
index b172a33..9433c0e 100644
--- a/api/DeleteEtherPad.php
+++ b/api/DeleteEtherPad.php
@@ -62,9 +62,5 @@
                        'api.php?action=ApiEtherEditor&padId=7',
                );
        }
-
-       public function getVersion() {
-               return __CLASS__ . ': 0.2.1';
-       }
        // @codeCoverageIgnoreEnd
 }
diff --git a/api/EtherPadAuth.php b/api/EtherPadAuth.php
index 460c264..c56626d 100644
--- a/api/EtherPadAuth.php
+++ b/api/EtherPadAuth.php
@@ -55,10 +55,6 @@
                        'api.php?action=EtherPadAuth&padId=7',
                );
        }
-
-       public function getVersion() {
-               return __CLASS__ . ': 0.2.0';
-       }
        // @codeCoverageIgnoreEnd
 }
 
diff --git a/api/ForkEtherPad.php b/api/ForkEtherPad.php
index e456633..77170f3 100644
--- a/api/ForkEtherPad.php
+++ b/api/ForkEtherPad.php
@@ -67,9 +67,5 @@
                        'api.php?action=ApiEtherEditor&padId=7',
                );
        }
-
-       public function getVersion() {
-               return __CLASS__ . ': 0.3.0';
-       }
        // @codeCoverageIgnoreEnd
 }
diff --git a/api/GetContribs.php b/api/GetContribs.php
index 9c2c066..dc3539b 100644
--- a/api/GetContribs.php
+++ b/api/GetContribs.php
@@ -54,10 +54,6 @@
                        'api.php?action=GetContribs&padId=7',
                );
        }
-
-       public function getVersion() {
-               return __CLASS__ . ': 0.3.0';
-       }
        // @codeCoverageIgnoreEnd
 }
 
diff --git a/api/GetCurrentUsers.php b/api/GetCurrentUsers.php
index 16f4fb7..61bc413 100644
--- a/api/GetCurrentUsers.php
+++ b/api/GetCurrentUsers.php
@@ -54,10 +54,6 @@
                        'api.php?action=GetCurrentUsers&padId=7',
                );
        }
-
-       public function getVersion() {
-               return __CLASS__ . ': 0.4.0';
-       }
        // @codeCoverageIgnoreEnd
 }
 
diff --git a/api/GetEtherPadText.php b/api/GetEtherPadText.php
index e7a9b9b..46697fc 100644
--- a/api/GetEtherPadText.php
+++ b/api/GetEtherPadText.php
@@ -54,10 +54,6 @@
                        'api.php?action=GetEtherPadText&padId=7',
                );
        }
-
-       public function getVersion() {
-               return __CLASS__ . ': 0.2.1';
-       }
        // @codeCoverageIgnoreEnd
 }
 
diff --git a/api/GetOtherEtherpads.php b/api/GetOtherEtherpads.php
index 4546173..5c39c89 100644
--- a/api/GetOtherEtherpads.php
+++ b/api/GetOtherEtherpads.php
@@ -54,9 +54,5 @@
                        'api.php?action=GetOtherEtherpads&padId=7',
                );
        }
-
-       public function getVersion() {
-               return __CLASS__ . ': 0.3.0';
-       }
        // @codeCoverageIgnoreEnd
 }
diff --git a/api/KickFromPad.php b/api/KickFromPad.php
index 55a6269..58afd8e 100644
--- a/api/KickFromPad.php
+++ b/api/KickFromPad.php
@@ -62,9 +62,5 @@
                        'api.php?action=KickFromPad&padId=7&user=Trollolol657',
                );
        }
-
-       public function getVersion() {
-               return __CLASS__ . ': 0.2.2';
-       }
        // @codeCoverageIgnoreEnd
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5f8660836082d7c6cb763ef6469a8fb88b35a5ea
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/EtherEditor
Gerrit-Branch: master
Gerrit-Owner: Anomie <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to