Page MenuHomePhabricator

VisualEditor: Respect MediaWiki's "useeditwarning" user preference to disable leaving while editing warning
Closed, ResolvedPublic

Description

If would be nice for power users to have an option to disable the popup warning that occurs when you are trying to leave the edit mode while you have done some editing.


Version: unspecified
Severity: enhancement

Details

Reference
bz51057

Event Timeline

bzimport raised the priority of this task from to Low.
bzimport set Reference to bz51057.
AzaToth created this task.Jul 9 2013, 6:39 PM

As mentioned in IRC, we should make this a core feature for MW and just re-use that preference rather than have a VE-specific one.

Change 126977 had a related patch set uploaded by Alex Monk:
Add preference to disable leaving warning while editing

https://gerrit.wikimedia.org/r/126977

I'd argue this is unwanted feature mania. If the warning doesn't make sense, remove it. If it does, leave it.

Note that such a preference existed before and was removed when this functionality was merged into core from the Vector extension (bug 46514).

The preference 'useeditwarning' already exists, but this bug is about VisualEditor, maybe the VisualEditor does not respect the core preference or implement it's own edit warning.

Change 126977 abandoned by Alex Monk:
Add preference to disable leaving warning while editing

Reason:
gah, missed that one.

https://gerrit.wikimedia.org/r/126977

Change 126994 had a related patch set uploaded by Alex Monk:
Check useeditwarning preference before showing warning when browsing away from editor

https://gerrit.wikimedia.org/r/126994

Change 126994 merged by jenkins-bot:
Check useeditwarning preference before showing warning when browsing away from editor

https://gerrit.wikimedia.org/r/126994