jenkins-bot has submitted this change and it was merged. 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(-) Approvals: Ejegg: Looks good to me, approved Jforrester: Looks good to me, but someone else must approve jenkins-bot: Verified 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¤cy_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: merged Gerrit-Change-Id: I3a81c6ca3501b8d3301f38383da0a9ab719b76df Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/DonationInterface Gerrit-Branch: master Gerrit-Owner: Anomie <bjor...@wikimedia.org> Gerrit-Reviewer: AndyRussG <andrew.green...@gmail.com> Gerrit-Reviewer: Anomie <bjor...@wikimedia.org> Gerrit-Reviewer: Awight <awi...@wikimedia.org> Gerrit-Reviewer: Cdentinger <cdentin...@wikimedia.org> Gerrit-Reviewer: Ejegg <eeggles...@wikimedia.org> Gerrit-Reviewer: Jforrester <jforres...@wikimedia.org> Gerrit-Reviewer: Ssmith <ssm...@wikimedia.org> Gerrit-Reviewer: XenoRyet <dkozlow...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits