Page MenuHomePhabricator

"Cannot delete" error message should use error/warning style
Open, LowPublicFeature

Description

When attempting to delete a page that no longer exists, there's a message to the effect "Could not delete the page or file specified. (It may have already been deleted by someone else.)"

This is displayed in plain text formatting, which doesn't look very error-y. If you're not paying attention, it doesn't look that much different from the success message.

It would probably make sense to mark at least the initial part using the error/warning class (big red text) for consistency with other errors. The later explanatory text ("may have been deleted by someone else") can be left in plain text.

(Customized text on for instance English Wikipedia goes on to add a bunch of other links after this as well. We definitely wouldn't want to just wrap the existing message in a <div class='error'>)


Version: unspecified
Severity: enhancement
URL: http://en.wikipedia.org/wiki/FDSLKjfsdlkjsfd?action=delete

Details

Reference
bz16911

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:24 PM
bzimport set Reference to bz16911.

ichu.ramesh wrote:

Reply to :

>>Brion Vibber

How can a page be deleted when its already deleted by someone else ? I tried deleting an already deleted page but there wasn't any "delete" option for that page. Could you tell me more clearly ?

i guess it happens when two admins click the "delete" link. Then one actually deletes the page, and the other tries to, from the deletion form, but it fails. Havn't tried it though.

ichu.ramesh wrote:

Reply to :

Daniel Kinzler
i guess it happens when two admins click the "delete" link. Then one actually

deletes the page, and the other tries to, from the deletion form, but it fails.

Havn't tried it though.


Thank you for your reply. How is it possible to add another admin ?? I logged in as an admin but I am not able to give my admin rights to another user. Just try it!!!

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM