User:DannyS712/common.js

$( document ).ready(	function {		if ( $('.mw-message-box-warning:contains("Warning: You are editing an out-of-date revision of this page.")').length === 0 ){			return;		}		$('#wpSummary').val( 'restore discussion' );		$('#wpMinoredit').prop('checked', true);	} );