Last modified: 2014-09-08 21:34:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70765, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68765 - "Are you sure you want to save?" when trying to "show changes"
"Are you sure you want to save?" when trying to "show changes"
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
CodeEditor (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 70567 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-28 20:14 UTC by Helder
Modified: 2014-09-08 21:34 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Helder 2014-07-28 20:14:03 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.
Comment 1 Derk-Jan Hartman 2014-07-28 21:01:20 UTC
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.
Comment 2 Andre Klapper 2014-09-08 19:22:55 UTC
*** Bug 70567 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links