Anomie has uploaded a new change for review.

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

Change subject: Remove pre-1.25 API compatibility code
......................................................................

Remove pre-1.25 API compatibility code

Since this extension uses extension.json, it already requires 1.25+ so
no need to keep the old code around.

Change-Id: I3a81c6ca3501b8d3301f38383da0a9ab719b76df
---
M gateway_common/donation.api.php
1 file changed, 0 insertions(+), 53 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface 
refs/changes/80/311780/1

diff --git a/gateway_common/donation.api.php b/gateway_common/donation.api.php
index 216ce3f..4a77272 100644
--- a/gateway_common/donation.api.php
+++ b/gateway_common/donation.api.php
@@ -132,59 +132,6 @@
        }
 
        /**
-        * @deprecated since MediaWiki core 1.25
-        */
-       public function getParamDescription() {
-               return array(
-                       'gateway' => 'Which payment gateway to use - adyen, 
globalcollect, etc.',
-                       'amount' => 'The amount donated',
-                       'currency_code' => 'Currency code',
-                       'fname' => 'First name',
-                       'lname' => 'Last name',
-                       'street' => 'First line of street address',
-                       'street_supplemental' => 'Second line of street 
address',
-                       'city' => 'City',
-                       'state' => 'State abbreviation',
-                       'zip' => 'Postal code',
-                       'email' => 'Email address',
-                       'country' => 'Country code',
-                       'card_num' => 'Credit card number',
-                       'card_type' => 'Credit card type',
-                       'expiration' => 'Expiration date',
-                       'cvv' => 'CVV security code',
-                       'payment_method' => 'Payment method to use',
-                       'payment_submethod' => 'Payment submethod to use',
-                       'language' => 'Language code',
-                       'order_id' => 'Order ID (if a donation has already been 
started)',
-                       'wmf_token' => 'Mediawiki edit token',
-                       'utm_source' => 'Tracking variable',
-                       'utm_campaign' => 'Tracking variable',
-                       'utm_medium' => 'Tracking variable',
-                       'referrer' => 'Original referrer',
-                       'recurring' => 'Optional - indicates that the 
transaction is meant to be recurring.',
-               );
-       }
-
-       /**
-        * @deprecated since MediaWiki core 1.25
-        */
-       public function getDescription() {
-               return array(
-                       'This API allow you to submit a donation to the 
Wikimedia Foundation using a',
-                       'variety of payment processors.',
-               );
-       }
-
-       /**
-        * @deprecated since MediaWiki core 1.25
-        */
-       public function getExamples() {
-               return array(
-                       
'api.php?action=donate&gateway=globalcollect&amount=2.00&currency_code=USD',
-               );
-       }
-
-       /**
         * @see ApiBase::getExamplesMessages()
         */
        protected function getExamplesMessages() {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a81c6ca3501b8d3301f38383da0a9ab719b76df
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Anomie <bjor...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to