Page MenuHomePhabricator

diffs between revisions which are both deleted & suppressed
Closed, ResolvedPublic

Description

Suppressed edits which are not deleted display the message [[MediaWiki:Rev-deleted-unhide-diff]]:

"One of the revisions of this diff has been deleted. There may be details in the deletion log.
As an administrator you can still view this diff if you wish to proceed."

e.g.

https://secure.wikimedia.org/wikipedia/en/w/index.php?title=User_talk:Nakon&diff=308209837&oldid=307073985

However if the revision has been deleted, there are two problems:

  1. the log has a (diff) link which does not work:

https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Special:Log&offset=200906161852&limit=5&type=suppress

  1. the special:undelete page has a (diff) link which does work, however it display neither the diff nor [[MediaWiki:Rev-deleted-unhide-diff]], and adding &unhide=1 does not work.

https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Special:Log&offset=20090403232052&limit=3&type=suppress

However I have also noticed that it does show a _broken_ diff here:

https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Special:Undelete&target=User%3ADominic%2F&timestamp=20090326110928&diff=prev


Version: unspecified
Severity: normal

Details

Reference
bz20288

Event Timeline

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

sumanah wrote:

John Mark, is this still reproducible? Thanks!

John Mark, is this still reproducible?

It's difficult to analyse the links provided, as few users have oversight rights on enwiki. If a test case could be set up on testwiki, it would be easier to understand the issue.

Updating based on current URLs:

This is the diff in question: https://en.wikipedia.org/w/index.php?title=User_talk:Nakon&diff=308209837&oldid=307073985

It is clearly suppressed. When clicking on the "del/undel" button, I am taken to the page that confirms it is suppressed. However, there is no entry in the suppression log, either on the delete/undelete page ( https://en.wikipedia.org/w/index.php?title=Special:RevisionDelete&type=revision&target=User_talk%3ANakon%2Farc6&ids=308209837 ) or when looking at Special:Log for suppression for the date 15 August 2009 at 23:41. It is also not listed as being deleted on the Delete/undelete revisions page, or on the Special:Log for deletion for the date 15 August 2009 at 23:41. The edit appears in the page history, and as an oversighter I can view the diff involved. Given the nature of the reason for suppression, I'm hesitant to play around with trying to unsuppress and resuppress.

Umherirrender subscribed.

Answer for no 1.
The action links on Special:Log/delete or Special:Log/suppress for revdel actions can contain a (diff) link, this (diff) link does not check if the revision was deleted in the meantime and that can make the link broken. When clicking "change visibility" and diff on that page it works. As one task should contain one issue, I created a new task for this: T326348

Answer for no 2.
I cannot see "broken" diffs when looking at suppressed diffs of deleted pages on my own wiki, that point seems to be fixed in the meantime, marking this task as resolved.

Updating based on current URLs:

This is the diff in question: https://en.wikipedia.org/w/index.php?title=User_talk:Nakon&diff=308209837&oldid=307073985

It is clearly suppressed. When clicking on the "del/undel" button, I am taken to the page that confirms it is suppressed. However, there is no entry in the suppression log, either on the delete/undelete page ( https://en.wikipedia.org/w/index.php?title=Special:RevisionDelete&type=revision&target=User_talk%3ANakon%2Farc6&ids=308209837 ) or when looking at Special:Log for suppression for the date 15 August 2009 at 23:41. It is also not listed as being deleted on the Delete/undelete revisions page, or on the Special:Log for deletion for the date 15 August 2009 at 23:41. The edit appears in the page history, and as an oversighter I can view the diff involved. Given the nature of the reason for suppression, I'm hesitant to play around with trying to unsuppress and resuppress.

When a suppression missed a log, there is no way to create a log entry afterwards. It could be a small time of a software error which results in this situation or the log exists under another page name.
For very old suppressions it is possible that the suppression was done with the old oversight extension and that was using other logs.

When a suppression missed a log, there is no way to create a log entry afterwards. It could be a small time of a software error which results in this situation or the log exists under another page name.
For very old suppressions it is possible that the suppression was done with the old oversight extension and that was using other logs.

For this specific case, @Umherirrender, it's because the page was moved after suppression. I'm moderately confident that more recent updates to move logs and revel stuff means more recent stuff will behave better, but that stuff wasn't done retroactively. Doesn't change any status of any tasks, just figured I'd mention.

When a suppression missed a log, there is no way to create a log entry afterwards. It could be a small time of a software error which results in this situation or the log exists under another page name.
For very old suppressions it is possible that the suppression was done with the old oversight extension and that was using other logs.

For this specific case, @Umherirrender, it's because the page was moved after suppression. I'm moderately confident that more recent updates to move logs and revel stuff means more recent stuff will behave better, but that stuff wasn't done retroactively. Doesn't change any status of any tasks, just figured I'd mention.

Thanks for have a look. Move of revdel logs is tracked as T214551: RevisionDeletion log does not move to new title after page move.