Forum:Spam edit warning

Is there anyway to make a spam edit warning so that if you didn't do any changes it won't publish and display "Warning! You haven't made any changes, scroll down and continue editing!"? -- Sam Wang (talk) 11:57, May 5, 2012 (UTC)
 * If there is no change to the page then the edit isn't saved --  Random Time  11:59, May 5, 2012 (UTC)