Page MenuHomePhabricator

VisualEditor: MWExtensionInspector does not take directionality from context when creating
Closed, ResolvedPublic

Description

https://gerrit.wikimedia.org/r/#/c/96984/ adds a workaround for the fact that getting the directionality from the FocusedNode doesn't work if there is no node focused (i.e. in creation mode), but it doesn't add any alternative logic for getting the directionality. We should look at the context in the CE tree somehow and figure out what directionality to use. Right now it just defaults to the UI directionality.


Version: unspecified
Severity: normal

Details

Reference
bz57421

Event Timeline

bzimport raised the priority of this task from to High.
bzimport set Reference to bz57421.
Catrope created this task.Nov 22 2013, 1:01 PM

Change 101125 had a related patch set uploaded by Mooeypoo:
Add a getDirectionFromRange Method to ve.ce.Document

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

Change 101125 merged by jenkins-bot:
Add a getDirectionFromRange Method to ve.ce.Document

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