Page MenuHomePhabricator

All users should be allowed to go to the edit page (view source)
Closed, DeclinedPublic

Description

Author: Dave

Description:
If editing is allowed only with proper permissions, the only capability withheld from the user should be the ability to
Save. The user should be allowed to see the source text and to modify it for purposes of preview.

In case the user is not allowed to save, then the Save button should be disabled, and there should be red text below the
Save button offering the user to log in. The disabled Save button should also have a tool tip that says why it is disabled.


Version: unspecified
Severity: enhancement

Details

Reference
bz7331

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:23 PM
bzimport set Reference to bz7331.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

Already the case for trying to edit protected or interface pages, but oddly not
for blocked users or for wikis you can't edit altogether
(!$wgGroupPermissions[you]['edit']).

  • This bug has been marked as a duplicate of 1859 ***

rotemliss wrote:

I think that this bug suggests not to just show the source, but make it a
*complete* edit view, along with the possibility to preview pages, show diffs,
etc. - but with disabled save buttons, and error if trying to save.

However, there is a problem with this proposal: When using wikis with no read
permissions but with some whitelisted pages, the user can use the template
syntax and preview it to show pages, and therefore can view pages – he is not
required to edit, just to preview. The right way may be to disable editing
completely (and everything else, actually) if the user cannot read, even in
viewable pages – automatically.