VisualEditor: Show two editing/view source tabs at all times, even if you can't edit page because it's protected
Closed, DeclinedPublic

Description

When viewing an article you have permission to edit, you see two tabs at the top - "Edit" and "Edit source". When viewing an article you don't have permission to edit, you see only one - "view source".

This is not good UI design There needs to always be the same number of tabs displayed. Ideally there should be tabs to "view source" and "view visual source" (with better wording though!), see Bug 51547.

If a read-only editor is not possible or not available then that tab needs to pop up a message saying that editing is restricted currently/until xx:xx for <log entry> and that they can view the wikitext source if they want (linked to an explanation what that means).


Version: unspecified
Severity: enhancement

bzimport added a project: VisualEditor-MediaWiki.Via ConduitNov 22 2014, 2:10 AM
bzimport set Reference to bz51549.
Thryduulf created this task.Via LegacyJul 17 2013, 4:18 PM
Jdforrester-WMF added a comment.Via ConduitNov 25 2013, 1:35 PM

A "read-only editor" is the view mode… I'm not really sure there's much value in going down the route, but instead we'd want to combine the two edit tabs together (except for users with VisualEditor disabled).

Quiddity added a subscriber: Quiddity.Via WebMar 27 2015, 10:29 PM

Comment... I think it might be useful to have the suggested "view visual source" tab, primarily to enable copying content such as references between protected and non-protected articles. However, I do grok the additional layers of complexity this would entail...

Add Comment