Page MenuHomePhabricator

Explicit requests for deleted revisions produce an error; should explain the revision was deleted
Closed, DeclinedPublic

Description

Author: wiki.vincent

Description:
When a single revision of an article is deleted, the permalink corresponding to
the revision shows a "database error" instead of a message explaining that the
revision has been deleted.

I don't know if it's normal (a way to hide the existence of the revision?)...

Presenting a link to former/next valid revision of the article would be helpful
for the user.


Version: unspecified
Severity: trivial

Details

Reference
bz5990

Event Timeline

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

robchur wrote:

Bear in mind that the reason it's deemed an error is because without further
checking, the software can't be sure it wasn't deleted (and if it was wiped from
the database, then it can't determine that at all). There might also be reasons
to conceal the revision's existence.

wiki.vincent wrote:

What I thought, was adding a table in the database containing a list of deleted
permalinks with a date, so that it would be easy/fast for the software to
retreive needed informations.

robchur wrote:

That doesn't solve the other two points.

wiki.vincent wrote:

Yes. It tells whether the link was deleted or not (existence or not in that
table), and the date enables also to link to next/former valid revision.

robchur wrote:

No, it doesn't solve

  • if the revision was wiped from the database, then it can't determine that at all
  • there might also be reasons to conceal the revision's existence

I don't think too much extra should be done in these cases. Links to the
previous/next valid revisions make sense, though.