MediaWiki:Common.js: Difference between revisions

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:
});
 
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_key.value = mw.util.getParamValue( 'utm_key' );
document.paypalcontribution.referrer.value = document.referrer;
}
 
// Disable logo link