Page MenuHomePhabricator

Catch "close window event" with javascript while editing
Closed, ResolvedPublic

Description

Author: mediazille

Description:
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.


Version: unspecified
Severity: enhancement

Details

Reference
bz5698

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:12 PM
bzimport set Reference to bz5698.
bzimport added a subscriber: Unknown Object (MLST).

This could be implemented as an user Gadget?

The new skin Vector has this feature: [[mw:Extension:Vector#EditWarning]]

Marking as fixed per comment #2