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

From Donate
Jump to navigation Jump to search
Content deleted Content added
Pgehres (WMF) (talk | contribs)
No edit summary
use mw.util.getParamValue instead of parseParams
Line 15: Line 15:
<script type="text/javascript">
<script type="text/javascript">
$(document).ready(function() {
$(document).ready(function() {
if ( mw.util.getParamValue('form-countryspecific') == 'Form-countryspecific-monthly' || mw.util.getParamValue('form-countryspecific') == 'Form-countryspecific-recurring' || showMonthlyCancel) {
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' || showMonthlyCancel) {
// We're on a monthly page, show the cancel text
// We're on a monthly page, show the cancel text
$('#cancel-monthly').show();
$('#cancel-monthly').show();

Revision as of 17:04, 8 July 2013

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⧽