Page MenuHomePhabricator

Regression: full edit form is displayed when user lacks create page permission
Closed, ResolvedPublic

Description

As noted at:

http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29#UI_for_anonymous_users_trying_to_create_a_new_page

The full edit page form is shown when you get to the edit page for a nonexistent page when page create permissions are disabled, as on English Wikipedia. We should be getting a View Source box or similar error instead.

Further, when submitting the page to be saved, it just pops back to the 'this page does not exist' instead of displaying an error message.

This is likely a regression caused by the recent changes to permissions error reporting.


Version: 1.11.x
Severity: enhancement
URL: http://en.wikipedia.org/w/index.php?title=SDLFkjkfsd&action=edit

Details

Reference
bz11140

Event Timeline

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

I do get the full edit box and no protection warning on edit. But the tab says 'view source' and I get the 'This site has restricted the ability to create new pages. ' message on submit.