Last modified: 2014-09-08 21:34:35 UTC
Go to e.g. https://en.wikipedia.org/wiki/Special:MyPage/TEST.js?action=edit&preload=bug and click on "Show changes". This will cause a warning "The document contains errors. Are you sure you want to save?", which is confusing as I'm not trying to save the page, I just checking what I have changed in the script so far.
This is because there is one submit event handler, and it has no manner to figure out which submit button triggers the submit event... Perhaps we should move that into an 'onclick' of just the save button or something similarly scary.
*** Bug 70567 has been marked as a duplicate of this bug. ***