Page MenuHomePhabricator

RevisionDelete: No recreate-warning after a page has been suppress-deleted
Closed, DeclinedPublic

Description

If an oversight user deletes an article while another user is editing it, the other user gets no warning on saving the page.
Before an article is saved, EditPage::wasDeletedSinceLastEdit() is checked (if it returns true, a warning is given). wasDeletedSinceLastEdit() calls Title::isDeleted() (since r47750 it's isDeletedQuick()) which seems to fail to return true if the page was deleted with suppress (both methods have this problem).
Since there are probably other parts of MediaWiki as well, who call isDeleted and isDeletedQuick, those functions should be made compatible with RevisionDelete.


Version: unspecified
Severity: normal

Details

Reference
bz19823

Event Timeline

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

Not efficient to do yet (until deleted_pages is made). Also some oversight users want to be able to hide page names; this would give them away.