MediaWiki:DonationForm.js: Difference between revisions
Content deleted Content added
change to accept either wmf_* or utm_* parameters, and use wmf_* style for payments |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1,271:
// TODO: remove utm_source when Ways to give has been updated
if (
mw.util.getParamValue( 'utm_source' ) === 'Waystogive' ||▼
mw.util.getParamValue( 'wmf_source' ) === 'Waystogive' ||
mw.util.getParamValue( 'wmf_source' ) === 'Ways_to_Give'
Line 1,308 ⟶ 1,306:
// Allow preselecting monthly
if (
mw.util.getParamValue('monthly') && donationForm.noRecurringCountries.indexOf( donationForm.country ) === -1
) {
$('#frequency_monthly').click();
}
|