Page MenuHomePhabricator

mediawiki.action.view.dblClickEdit.dblClickEdit should trigger ca-edit click instead opening URL directly
Closed, ResolvedPublic

Description

To account for editors that don't open a new page, simulate a click instead of using window.location directly.

That way editors such as VisualEditor will get the edit event and initiate the editor.

VisualEditor works without this as it updates the ca-edit url with ?veaction=edit, so it'll work. But still, going through a useless reload is... useless.


Version: unspecified
Severity: enhancement

Details

Reference
bz43052

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:10 AM
bzimport set Reference to bz43052.

mediawiki.action.view.dblClickEdit and mediawiki.action.view.rightClickEdit modules respectively.

Change-Id: Ie8a35700bc9e74b24f234ea682ad25375e18bda4