Ori.livneh has uploaded a new change for review. https://gerrit.wikimedia.org/r/184047
Change subject: MWException -> Exception ...................................................................... MWException -> Exception Change-Id: I6a870596c9686851317765c0b82e458ddbd5d00e --- M ContributionTracking.alias.php M ContributionTracking.processor.php M special/SpecialFundraiserMaintenance.php 3 files changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContributionTracking refs/changes/47/184047/1 diff --git a/ContributionTracking.alias.php b/ContributionTracking.alias.php index a688bbf..455bdfb 100644 --- a/ContributionTracking.alias.php +++ b/ContributionTracking.alias.php @@ -212,4 +212,4 @@ $specialPageAliases['zh-hant'] = array( 'ContributionTracking' => array( '追蹤貢獻' ), 'FundraiserMaintenance' => array( '募捐維護' ), -); \ No newline at end of file +); diff --git a/ContributionTracking.processor.php b/ContributionTracking.processor.php index e475462..8140d97 100644 --- a/ContributionTracking.processor.php +++ b/ContributionTracking.processor.php @@ -230,7 +230,7 @@ * Takes staged transaction data, and constructs the key/value pairs * formatted to be reposted to the gateway specified in $input['gateway'] * @param array $input The staged data to repost to a gateway. - * @throws MWException + * @throws Exception * @global string $wgContributionTrackingPayPalBusiness 'Business' string * for PayPal: Defined in ContributionTracking.php * @global string $wgContributionTrackingReturnToURLDefault Default URL to @@ -342,7 +342,7 @@ $repost['fields']['detail1_text'] = 'DONATE'; $repost['fields']['currency'] = $input['currency_code']; } else { - throw new MWException( "Unknown payment gateway!" ); + throw new Exception( "Unknown payment gateway!" ); } // Normalized amount diff --git a/special/SpecialFundraiserMaintenance.php b/special/SpecialFundraiserMaintenance.php index 2b04c9a..52610a1 100644 --- a/special/SpecialFundraiserMaintenance.php +++ b/special/SpecialFundraiserMaintenance.php @@ -49,4 +49,4 @@ } -} \ No newline at end of file +} -- To view, visit https://gerrit.wikimedia.org/r/184047 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6a870596c9686851317765c0b82e458ddbd5d00e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ContributionTracking Gerrit-Branch: master Gerrit-Owner: Ori.livneh <o...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits