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


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).

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.