Last modified: 2014-01-30 12:30:26 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 T62615, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60615 - Edit Warning doesn't work if CodeEditor is enabled
Edit Warning doesn't work if CodeEditor is enabled
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: javascript
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-30 11:14 UTC by Helder
Modified: 2014-01-30 12:30 UTC (History)
0 users

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


Attachments

Description Helder 2014-01-30 11:14:28 UTC
1. Enable the preference "Warn me when I leave an edit page with unsaved changes" ([[MediaWiki:tog-useeditwarning]]) at
https://en.wikipedia.org/wiki/Special:Preferences?uselang=en#mw-prefsection-editing
2. Go to
https://en.wikipedia.org/wiki/Special:MyPage/common.js?action=edit
3. Code something cool! (ok, for now just type "test" :-)
4. Try to close the page

Expected result:
There should be a warning such as "Leaving this page may cause you to lose any changes you have made. If you are logged in, you can disable this warning in the "Editing" section of your preferences."

Actual result:
The page is closed without warning and you lose your work!
Comment 1 Andre Klapper 2014-01-30 12:28:09 UTC
With which browser(s) did you test this?
Comment 2 Helder 2014-01-30 12:30:26 UTC
Google Chrome 32.0.1700.102 and Firefox 26.0.

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


Navigation
Links