Template:2012FR/Form-section/Privacy/Recurring: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Cbarr (talk | contribs)
No edit summary
don't think this is used now, but remove parseParams() anyway
Line 12: Line 12:
<script type="text/javascript">
<script type="text/javascript">
$(document).ready(function() {
$(document).ready(function() {
if ( mw.util.getParamValue('form-countryspecific') == 'Form-countryspecific-monthly' ||
var paramsOut = parseParams(window.location.href); // create an object with the current querystring parameters
if (paramsOut['form-countryspecific'] == 'Form-countryspecific-monthly' || paramsOut['form-countryspecific'] == 'Form-countryspecific-recurring') {
mw.util.getParamValue('form-countryspecific') == 'Form-countryspecific-recurring'
) {
// We're on a monthly page, show the cancel text
$('#cancel-monthly').show();
// We're on a monthly page, show the cancel text
$('#cancel-monthly').show();
}
}
});
});
</script>
</script>

Revision as of 11:28, 12 May 2016

We do not sell or trade your information to anyone. By donating, you agree to share your personal information with the Wikimedia Foundation, the nonprofit organization that hosts Wikipedia and other Wikimedia projects, and its service providers pursuant to our donor policy. Wikimedia Foundation and its service providers are located in the United States and in other countries whose privacy laws may not be equivalent to your own. For more information please read our donor policy.

*⧼donate_interface-monthly-cancel-seddon⧽