Page MenuHomePhabricator

Show wish title on diff
Closed, ResolvedPublic3 Estimated Story PointsFeature

Assigned To
Authored By
Nardog
Nov 5 2025, 12:33 AM
Referenced Files
F71217173: 2025-12-23_09-24-50.png
Dec 23 2025, 5:41 PM
F71217171: 2025-12-23_09-24-09.png
Dec 23 2025, 5:41 PM
F71217166: 2025-12-23_09-22-20.png
Dec 23 2025, 5:41 PM
F71217161: 2025-12-23_09-21-15.png
Dec 23 2025, 5:41 PM
F71217158: 2025-12-23_09-34-18.mp4
Dec 23 2025, 5:41 PM
F71217143: 2025-12-23_09-13-37.png
Dec 23 2025, 5:41 PM
F71217077: 2025-12-23_09-12-38.png
Dec 23 2025, 5:41 PM

Description

As someone who browses and patrols wishes, I want to see the title at the time of the new (i.e. righthand in LTR) revision of a wish while looking at a diff so I can quickly have a sense of what the wish is about without returning to the current version of the page.


Derived Requirement

Ensure that when viewing a diff for a wish, the title of the wish corresponding to the newer revision (right-hand side in LTR contexts) is clearly displayed, allowing users to immediately understand the context of the change without navigating back to the current version of the wish page.

Test Result - Beta|Prod

Status: ✅ PASS / ❓Need More Info / ❌ FAIL
Environment: beta/enwiki
OS: macOS Tahoe 26.1
Browser: Chrome 143
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Display wish title for the newer revision in diff view

  1. Navigate to an existing wish page.
  2. Make a change to the wish that creates a new revision.
  3. Open the diff view comparing the previous revision with the new revision.
  4. Observe the diff interface.
  5. ✅❓❌⬜ AC1: Confirm that the title of the wish corresponding to the newer (right-hand) revision is displayed in the diff view.

Test Case 2: Ensure title reflects the correct revision state

  1. Open a diff where the wish title was changed between revisions.
  2. Observe the title shown in the diff view.
  3. Compare it with the title stored in the newer revision.
  4. ✅❓❌⬜ AC2: Confirm that the displayed title matches the title as it exists in the newer revision, not the older or current page state.

Test Case 3: Preserve existing diff functionality

  1. View diffs for multiple wishes with varying edit histories.
  2. Interact with standard diff controls (for example, toggling inline or unified view, navigating between revisions).
  3. Observe the diff behavior.
  4. ✅❓❌⬜ AC3: Confirm that existing diff functionality remains unchanged and fully functional with the addition of the wish title display.

QA Results - Meta Beta

ACStatusDetails
1T409241#11483585
2T409241#11483585
3T409241#11483585

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1207731 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/extensions/CommunityRequests@master] PageDisplayHooks: use the ParserOutput's display title on diff pages

https://gerrit.wikimedia.org/r/1207731

MusikAnimal changed the task status from Open to In Progress.Nov 20 2025, 7:16 AM

Change #1207731 merged by jenkins-bot:

[mediawiki/extensions/CommunityRequests@master] PageDisplayHooks: use the ParserOutput's display title on diff pages

https://gerrit.wikimedia.org/r/1207731

HMonroy changed the task status from In Progress to Open.Dec 8 2025, 7:40 PM
HMonroy moved this task from Feedback and Review to QA on the Community-Tech (Sea Lion Squad) board.

@MusikAnimal Confirmed show wish title on diff, as seen in the screenshots/video. I will mark this as Resolved. Thanks for all your work!

Test Result - Meta Beta

Status: ✅ PASS
Environment: Meta Beta
OS: macOS Tahoe 26.1
Browser: Chrome 143
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Display wish title for the newer revision in diff view

  1. Navigate to an existing wish page.
  2. Make a change to the wish that creates a new revision.
  3. Open the diff view comparing the previous revision with the new revision.
  4. Observe the diff interface.
  5. AC1: Confirm that the title of the wish corresponding to the newer (right-hand) revision is displayed in the diff view.

2025-12-23_09-12-38.png (1×1 px, 229 KB)

Test Case 2: Ensure title reflects the correct revision state

  1. Open a diff where the wish title was changed between revisions.
  2. Observe the title shown in the diff view.
  3. Compare it with the title stored in the newer revision.
  4. AC2: Confirm that the displayed title matches the title as it exists in the newer revision, not the older or current page state.

2025-12-23_09-13-37.png (1×1 px, 227 KB)

Test Case 3: Preserve existing diff functionality

  1. View diffs for multiple wishes with varying edit histories.
  2. Interact with standard diff controls (for example, toggling inline or unified view, navigating between revisions).
  3. Observe the diff behavior.
  4. AC3: Confirm that existing diff functionality remains unchanged and fully functional with the addition of the wish title display.
Special:DiffFATags/TypesAudience- RTLHe
2025-12-23_09-21-15.png (953×1 px, 206 KB)
2025-12-23_09-22-20.png (1×1 px, 219 KB)
2025-12-23_09-24-09.png (1×1 px, 217 KB)
2025-12-23_09-24-50.png (1×1 px, 170 KB)
GMikesell-WMF updated the task description. (Show Details)