MediaWiki:MonthlyConvert.js: Difference between revisions
Content deleted Content added
new amounts for SEK/NOK and DKK |
also check wmf_medium for endowment |
||
(5 intermediate revisions by the same user not shown) | |||
Line 37:
],
'USD' : [ // also CAD, AUD, NZD
[ 2.
[ 9, 1.75 ],
[ 12, 2 ],
Line 393:
}
if ( mw.util.getParamValue( 'wmf_medium' ) === 'endowment' || mw.util.getParamValue( 'utm_medium' ) === 'endowment' ) {
// No recurring for endowment
skipMc = true;
Line 405:
if ( donationForm.noRecurringCountries.indexOf( params.country ) !== -1 ) {
// Country where we don't offer any recurring
skipMc = true;
}
if ( params.payment_method === 'paypal' && donationForm.noRecurringPaypalCountries.indexOf( params.country ) !== -1 ) {
skipMc = true;
}
Line 467 ⟶ 471:
$('.mc-modal-screen').show();
document.querySelector('.mc-button').focus();
$('body').addClass('modal-open');
}
|