Page MenuHomePhabricator

Do not show VE icon in wikiEditor toolbar in when VE is disabled (e.g., user-talk namespace)
Closed, DuplicatePublic

Description

in latest version, a new and sweet tool was added, to switch from wikiEditor to visual editor directly. this is done by adding to vikiEditor toolbar the following span:

<span class="oo-ui-iconElement-icon oo-ui-icon-edit"></span>

unfortunately, this happens in a non-discriminating way, in all namespaces, regardless whether VE is enabled.
in namespaces where VE is disable, clicking the icon throws an exception (caught and displayed politely), telling the user VE is not enabled in this namespace.

this is wrong. this control should not appear in namespaces that do not support VE.

peace.

Event Timeline

Kipod raised the priority of this task from to Needs Triage.
Kipod updated the task description. (Show Details)
Kipod added a project: VisualEditor.
Kipod subscribed.
Kipod renamed this task from Do not show VE icon in wikiEditor toolbar in name spaces not enabled for VE to Do not show VE icon in wikiEditor toolbar in when VE is disabled (e.g., user-talk namespace).Nov 6 2015, 3:36 PM
Kipod set Security to None.