MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
hide the Loading message when done |
wrap some form stuff so it only runs if there is a form present |
||
Line 342: | Line 342: | ||
}); |
}); |
||
document.paypalcontribution.utm_medium.value = mw.util.getParamValue( 'utm_medium' ); |
if ( document.paypalcontribution ) { |
||
document.paypalcontribution.utm_medium.value = mw.util.getParamValue( 'utm_medium' ); |
|||
document.paypalcontribution.utm_campaign.value = mw.util.getParamValue( 'utm_campaign' ); |
document.paypalcontribution.utm_campaign.value = mw.util.getParamValue( 'utm_campaign' ); |
||
document.paypalcontribution.utm_key.value = mw.util.getParamValue( 'utm_key' ); |
document.paypalcontribution.utm_key.value = mw.util.getParamValue( 'utm_key' ); |
||
document.paypalcontribution.referrer.value = document.referrer; |
document.paypalcontribution.referrer.value = document.referrer; |
||
} |
|||
// Disable logo link |
// Disable logo link |