MediaWiki:DonationForm.js: Difference between revisions
Content deleted Content added
join utm_key elements with ~ instead of . in case there are decimal numbers etc (same as banners) |
add brave=1 in utm_key for Brave browser |
||
Line 11:
'vh' : window.innerHeight
};
if ( navigator.brave !== undefined ) { // T283367
donationForm.extraData.brave = '1';
}
// Don't offer recurring at all in these countries
Line 703 ⟶ 707:
if ( params.uselang === 'pt' && params.country === 'BR' ) {
var amount = donationForm.getAmount();
Line 968 ⟶ 972:
// Latin America
'BRL' : 2,
};
|