Page MenuHomePhabricator

VisualEditor: Don't bind the 'v' accesskey for VisualEditor in namespaces where VE is not enabled
Closed, ResolvedPublic

Description

Visual editor adds accesskey 'v' for visual edit in namespaces where the editor is not enabled. For example (in Firefox) pressing alt+shift+v in [[sv:Diskussion:Stockholm]] shows the error message:

"Error loading data from server: novenamespace: VisualEditor is not enabled in namespace 1. Would you like to retry?"

It should be possible to avoid getting an error message by removing the access key. (Also, if Visual editor is not enabled there is no point in asking users to retry.)


Version: unspecified
Severity: minor

Details

Reference
bz64142

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:19 AM
bzimport set Reference to bz64142.

Change 133851 had a related patch set uploaded by Alex Monk:
Don't add ve-edit tab in namespaces where it's not available

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

Change 133851 merged by jenkins-bot:
Remove edit tab from the DOM if it's hidden

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