MediaWiki:Gadget-CheckUserMenu.js

/* Add a drop-down menu for Special:CheckUser reasons */

$(function {	if (mw.config.get('wgCanonicalSpecialPageName') === 'CheckUser') {		$('#checkreason').replaceWith('Please select a reason... Routine new user check Suspected sockpuppet account Matching a vandal account Other ');		$('#checkreason').change(function { if ($('#checkreason').val == 'Other') $('#checkreason').replaceWith(''); });	} });