MediaWiki:DonationForm.js: Difference between revisions
Content deleted Content added
remove getQueryString |
linting and alignment |
||
Line 33:
'BND' : 1.38,
'BOB' : 6.8,
'BSD' : 1,
'BTN' : 72,
Line 255 ⟶ 254:
],
'LTLA' : [
[ 0, [ 3,
[ 5, [ 5, 10, 20, 35, 50, 100, 150 ] ],
[ 10, [ 10, 20, 35, 50, 75, 100, 150 ] ],
[ 15, [ 15, 25, 35, 50, 75, 100, 250 ] ],
[ 20, [ 20, 30, 50, 75,
[ 25, [ 25, 35, 50, 75, 100, 150, 250 ] ],
[ 35, [ 25, 50, 75, 100, 200, 250, 300 ] ],
Line 270 ⟶ 269:
],
'midtier2018' : [
[ 0, [ 3, 5, 10, 20, 30, 50, 100 ] ],
[ 5, [ 5, 10, 20, 35, 50, 100, 150 ] ],
[ 10, [ 10, 15, 20, 35, 50, 100, 150 ] ],
[ 15, [ 15, 20, 25, 35, 50, 100, 150 ] ],
[ 20, [ 20, 25, 35, 50, 75, 100, 150 ] ],
[ 25, [ 35, 50, 75,
[ 35, [ 50, 75,
[ 50, [ 75,
[ 75, [ 100,
[ 100, [ 150,
[ 150, [ 200, 250, 300, 400, 500,
[ 200, [ 500, 750,
[ 500, [ 750,
[ 1000, [ 1000, 2000, 3000, 4000, 5000, 7500, 10000 ] ]
],
Line 628 ⟶ 627:
return dflt;
}
};
/* The landing page info, separated by ~. This mostly exists for legacy reasons */
Line 639 ⟶ 638:
return utm_source;
};
/* Return amount selected or input */
Line 674 ⟶ 673:
}
};
Line 704 ⟶ 703:
return !error;
};
/**
Line 730 ⟶ 729:
}
};
donationForm.toggleMonthly = function(monthly) {
Line 828 ⟶ 827:
adjustHPC();
preSelect(); // Make sure to do this *after* other fiddling with values
donationForm.localizeErrors();
}
finally {
|