Last modified: 2010-12-03 21:21:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 5698 - Catch "close window event" with javascript while editing
Catch "close window event" with javascript while editing
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-04-24 10:08 UTC by Axel Kittenberger
Modified: 2010-12-03 21:21 UTC (History)
3 users (show)

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


Description Axel Kittenberger 2006-04-24 10:08:30 UTC
When editing a wiki page, can mediawiki please catch the "close window" event
with java-script, and ask the user with a messagebox if he really wants to loose
all his work so far?

I just lost quite some work to a wikipedia article due accidently to hitting
CTRL-W while typing - frustrating.
This could be a user setting, I would say - default: On.
Comment 1 Niklas Laxström 2008-10-06 08:46:07 UTC
This could be implemented as an user Gadget?
Comment 2 db [inactive,noenotif] 2010-12-03 20:43:59 UTC
The new skin Vector has this feature: [[mw:Extension:Vector#EditWarning]]
Comment 3 Roan Kattouw 2010-12-03 21:21:03 UTC
Marking as fixed per comment #2

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