User:GhostInTheMachine/NoEditSummary.js

// warn if an edit has no summary text // suggested by User:SD0001

$(function{	var r=$("#wpSummaryWidget input");	$("#wpSaveWidget input")	.on("mouseover",function{ r.val.trim || (window.editSumOrigBorder=r.css("border"), r.css("border", "solid 2px red")); })	.on("mouseout",function{ r.css("border", window.editSumOrigBorder); }); });