Template:2011FR/Form-section-links: Difference between revisions
Content deleted Content added
tweak so monthly link can work on static pages |
escape ampersands |
||
Line 80:
if (pageCountrySpecific == "") {
// if on a static page, e.g. from sidebar just use a monthly form and leave everything else as defaults
monthlyURL = 'https://donate.wikimedia.org/wiki/Special:FundraiserLandingPage?form-countryspecific=Form-countryspecific-monthly&uselang=' + wgUserLanguage;
monthlyURL += '&utm_medium=' + getQuerystring('utm_medium') + '&utm_campaign=' + getQuerystring('utm_campaign') + '&utm_source=' + getQuerystring('utm_source');
} else {
// if on Special:FundraiserLandingPage, use all the same querystring but a monthly form
|