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 set Reference to bz51549.

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

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