Page MenuHomePhabricator

Show OOUI AbandonEditDialog when leaving editor via a link
Open, LowestPublic

Description

This dialog was upstreamed from VE in https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/470847/, and should probably be used for WikiEditor too, when the user tries to navigate away (i.e. clicking 'cancel' or 'read')

AbandonEditDialog:

image.png (163×317 px, 13 KB)

System onUnload handler (still required in some cases, e.g. back):

image.png (149×459 px, 9 KB)

Event Timeline

TheDJ triaged this task as Lowest priority.Nov 13 2018, 1:24 PM
TheDJ updated the task description. (Show Details)

nvmd. i was on the wrong path myself ;)