Page MenuHomePhabricator

Confusing experience on diff/contributions page for admins which has potential for accidental leakage of information
Closed, DeclinedPublic



  • User A edits a page X 3 times.
  • User B (an oversighter/admin) changes the visibility of the 2nd revision of these edits via the history page like so:

Screen Shot 2016-04-26 at 11.03.02 AM.png (218×537 px, 30 KB)

  • Upon visiting Special:Contributions/A the 2nd revision is not shown.

Anonymous user on mobile sees:

Screen Shot 2016-04-26 at 10.47.23 AM.png (316×914 px, 30 KB)

Admin on mobile sees:
Screen Shot 2016-04-26 at 10.48.49 AM.png (410×913 px, 40 KB)

Admin on desktop sees:
Screen Shot 2016-04-26 at 10.49.14 AM.png (108×833 px, 55 KB)

Admin when viewing the diff on mobile sees that it is from an anonymous user and has no indication the edit summary was removed.
Screen Shot 2016-04-26 at 10.51.39 AM.png (417×814 px, 49 KB)

Admin when viewing diff on desktop sees:
Screen Shot 2016-04-26 at 11.24.21 AM.png (338×745 px, 86 KB)

Issues on the Special:Contributions page:

  • People who can see these entries should have clear indication they are tagged as removed and hidden from contributions to normal users. Show warning text "username or IP address removed - edit hidden from contributions"
  • A deleted revision instead of showing 'No edit summary' should make it clear the edit summary was removed. Show warning text "edit summary removed"

On the diff page:

  • When username is hidden, instead of being shown as from an anonymous user the diff should clearly show the username or IP address is removed and edit summary has been removed. Show a warning box instead with text "username of IP address removed"
  • When edit summary is hidden instead of being shown as being edited with no edit summary, it should clearly show the edit summary has been hidden. Show a warning box instead with text "username of IP address removed"
  • If a diff is hidden, and the warning "One of the revisions of this diff has been deleted. Details can be found in the deletion log. You can still view this diff if you wish to proceed." is shown e.g.

The text should ''not'' be shown unless unhide flag is present. Currently the text shows unconditionally.

Event Timeline

Jdlrobson removed a project: Unplanned-Sprint-Work.
Jdlrobson updated the task description. (Show Details)

@dr0ptp4kt + @Nirzar to clarify design of the implementation in mobile web and priority on the product backlog.

dr0ptp4kt triaged this task as Medium priority.Apr 27 2016, 5:16 PM
dr0ptp4kt moved this task from Incoming to Needs Prioritization on the Web-Team-Backlog board.

@Nirzar I think this may need design attention for the proposed error messages.

We should probably split the task into two given that two separate pages are weakly connected with the same issue.

Change 499864 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/extensions/MobileFrontend@master] Remove the SpecialMobile(History|Contributions) page and use the core versions

Change 499864 abandoned by Jdlrobson:
Remove the SpecialMobile(Watchlist|History|Contributions) page and use the core versions

Jdlrobson moved this task from Design to Triaged but Future on the Web-Team-Backlog board.
Jdlrobson edited projects, added Web-Team-Backlog; removed Web-Team-Backlog (Design).

I will check this and see if it's still a relevant task.