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


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

bzimport set Reference to bz64142.
Lejonel created this task.Via LegacyApr 19 2014, 8:22 PM
gerritbot added a comment.Via ConduitMay 16 2014, 10:28 PM

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

gerritbot added a comment.Via ConduitMay 19 2014, 5:51 PM

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

Add Comment