MediaWiki:Group-bureaucrat.js: Difference between revisions

No edit summary
 
m (1 revision imported)
 

Latest revision as of 13:22, August 16, 2023

/* Any JavaScript here will be loaded for bureaucrats only */

/* Special:UserMerge */
$(function() {
	if (mw.config.get('wgCanonicalSpecialPageName') === 'UserMerge') {
		if (!$('input[name="wpnewuser"]').val())
			$('input[name="wpnewuser"]').val('Anonymous');
		$('input[name="wpdelete"]').prop('checked', true);
	}
});