MediaWiki:Common.js: Difference between revisions
From Mutant Year Zero
No edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
$(".timeless-logo").attr("href", 'http://rpg.sandcat.nl/'); | $(".timeless-logo").attr("href", 'http://rpg.sandcat.nl/'); | ||
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Movepage' ) { $( function () { i= $( 'input[name=wpLeaveRedirect]' ); if ( i.length ) { i[0].checked = false; } } ) } |
Revision as of 09:08, 12 December 2023
/* Any JavaScript here will be loaded for all users on every page load. */
$(".timeless-logo").attr("href", 'http://rpg.sandcat.nl/');
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Movepage' ) { $( function () { i= $( 'input[name=wpLeaveRedirect]' ); if ( i.length ) { i[0].checked = false; } } ) }