3,554
edits
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
addOnloadHook(function() { | |||
if(location.href.match(/File/) { | if(location.href.match(/File/) { | ||
document.getElementById( 'wpLeaveRedirect' ).checked = false; | document.getElementById( 'wpLeaveRedirect' ).checked = false; | ||
Line 5: | Line 5: | ||
}); | }); | ||
addOnloadHook(function() { | |||
if(wgCanonicalSpecialPageName == "Movepage" ) { | if(wgCanonicalSpecialPageName == "Movepage" ) { | ||
document.getElementById( 'wpWatch' ).checked = True; | document.getElementById( 'wpWatch' ).checked = True; | ||
} | } | ||
}); | }); |