MediaWiki:DonationForm.js: Difference between revisions
Content deleted Content added
mNo edit summary |
change uselang for payments for pt-br and es-419 |
||
Line 716:
params.country = donationForm.country;
params.uselang = mw.config.get('wgUserLanguage');
if ( params.uselang === 'pt' && params.country === 'BR' ) {
params.uselang = 'pt-br';
}
if ( params.uselang === 'es' &&
( params.country === 'AR' || params.country === 'CL' ||
params.country === 'CO' || params.country === 'MX' ||
params.country === 'PE' || params.country === 'UY' )
) {
params.uselang = 'es-419';
}
var amount = donationForm.getAmount();
|