MediaWiki:DonationForm.js: Difference between revisions
Content deleted Content added
rm variant=panExplain for India, is included by default now - phab:T308332 |
add override of maxUSD for specific MG form |
||
Line 20:
donationForm.maxUSD = 12000;
// Hack for specific Major Gifts email form
mw.loader.using( ['mediawiki.util'] ).done( function() {
if ( mw.util.getParamValue( 'form-countryspecific' ) === 'Form-countryspecific-MG2022' ) {
donationForm.maxUSD = 25000;
}
});
donationForm.minimums = {
// From https://github.com/wikimedia/wikimedia-fundraising-SmashPig/blob/master/PaymentData/ReferenceData/CurrencyRates.php
|