5,366
edits
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
if ($(this).parent().css('margin-top') < '15px') | if ($(this).parent().css('margin-top') < '15px') | ||
$(this).parent().css('margin', '15px auto'); | $(this).parent().css('margin', '15px auto'); | ||
}); | |||
/* Default Special:ReplaceText to not announce edits */ | |||
$(function() { | |||
if (mw.config.get('wgCanonicalSpecialPageName') === 'ReplaceText') | |||
$('input[id="doAnnounce"]').prop('checked', false); | |||
}); | }); | ||
/* Default Special:UserMerge to user deletion */ | /* Default Special:UserMerge to user deletion */ | ||
$(function() { | $(function() { | ||
if (mw.config.get('wgCanonicalSpecialPageName') === 'UserMerge') | if (mw.config.get('wgCanonicalSpecialPageName') === 'UserMerge') { | ||
$('input[name="wpnewuser"]').val('Anonymous'); | $('input[name="wpnewuser"]').val('Anonymous'); | ||
$('input[name="wpdelete"]').prop('checked', true); | |||
} | |||
}); | }); | ||