Page MenuHomePhabricator

Display watchlist labels on watchlist page
Closed, ResolvedPublicFeature

Assigned To
Authored By
Cparle
Oct 24 2025, 2:00 PM
Referenced Files
F71651408: 2026-02-02_11-55-34.png
Feb 2 2026, 11:11 PM
F71651405: 2026-02-02_11-55-16.png
Feb 2 2026, 11:11 PM
F71651825: 2026-02-02_13-46-24.mp4
Feb 2 2026, 11:11 PM
F71651818: 2026-02-02_13-43-04.png
Feb 2 2026, 11:11 PM
F71651816: 2026-02-02_11-53-17.mp4
Feb 2 2026, 11:11 PM
F71625057: image.png
Jan 29 2026, 3:14 PM
F71620532: 2026-01-28_12-15-28.mp4
Jan 28 2026, 8:18 PM
F66780557: Screenshot 2025-10-22 at 11.56.29.png
Oct 24 2025, 2:01 PM

Description

User Story

As a user I want to be able to see which labels I've applied to items in my watchlist

Acceptance criteria

Labels should be shown similarly to change tags.

  • Each item in the watchlist that has any label(s) should have (Label: <first label name>[, <second label name>]) displayed beside it.
  • The 'Label' at the beginning should link to Special:WatchlistLabels.

Details for QA

  • watchlist items can have more than one label

Designs

Full designs here https://www.figma.com/design/CdyroPkkcT7GJA9bwno0Rq/WE1.4-Task-priotization?node-id=327-15767&p=f&t=it3KLwgfVRsWHUqn-0

Screenshot 2025-10-22 at 11.56.29.png (434×912 px, 81 KB)


Derived Requirement

Ensure that watchlist items display any applied labels directly on the watchlist page, formatted similarly to change tags, and that the displayed label indicator provides access to label management via Special:WatchlistLabels.

Test Steps

Test Case 1: Ensure labeled watchlist items display labels beside the item

  1. Add one or more items to the watchlist.
  2. Apply at least one label to a watchlist item.
  3. Navigate to Special:Watchlist.
  4. Locate the labeled watchlist item.
  5. ✅❓❌⬜ AC1: The watchlist item displays a label indicator in the format Label: <label name> beside the item.

Test Case 2: Ensure multiple labels are displayed correctly for a single watchlist item

  1. Apply two or more labels to the same watchlist item.
  2. Navigate to Special:Watchlist.
  3. Locate the watchlist item with multiple labels.
  4. ✅❓❌⬜ AC2: All applied labels are displayed beside the item in a comma-separated list within the label indicator.

Test Case 3: Ensure the label indicator links to Special:WatchlistLabels

  1. Navigate to Special:Watchlist.
  2. Locate a watchlist item displaying labels.
  3. Click the 'Label' text at the beginning of the label indicator.
  4. ✅❓❌⬜ AC3: Clicking the 'Label' text navigates to Special:WatchlistLabels.

QA Results -Beta

ACStatusDetails
1T408205#11576747
2T408205#11576747
3T408205#11576747

Event Timeline

Cparle updated the task description. (Show Details)
Samwilson changed the subtype of this task from "Task" to "Feature Request".Jan 13 2026, 9:11 AM
Cparle changed the task status from Open to In Progress.Jan 13 2026, 11:57 AM
Cparle moved this task from Ready for Dev to In Development on the Community-Tech (Fox Squad) board.

Change #1227384 had a related patch set uploaded (by Cparle; author: Cparle):

[mediawiki/core@master] Show watchlist labels on watchlist page

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

Change #1227384 merged by jenkins-bot:

[mediawiki/core@master] Show watchlist labels on watchlist page

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

@Cparle Labels are not displaying in the Watchlist log, as seen in the AC1 video below.

Test Result - Beta

Status: ❌ FAIL
Environment: Beta
OS: macOS Tahoe 26.2
Browser: Chrome 143
Device: MBA
Emulated Device: NA

Test Artifact(s): Screenshots of Special:Watchlist and Special:WatchlistLabels

Test Steps

Test Case 1: Ensure labeled watchlist items display labels beside the item

  1. Add one or more items to the watchlist.
  2. Apply at least one label to a watchlist item.
  3. Navigate to Special:Watchlist.
  4. Locate the labeled watchlist item.
  5. AC1: The watchlist item displays a label indicator in the format Label: <label name> beside the item.

Test Case 2: Ensure multiple labels are displayed correctly for a single watchlist item

  1. Apply two or more labels to the same watchlist item.
  2. Navigate to Special:Watchlist.
  3. Locate the watchlist item with multiple labels.
  4. AC2: All applied labels are displayed beside the item in a comma-separated list within the label indicator.

See AC1

Test Case 3: Ensure the label indicator links to Special:WatchlistLabels

  1. Navigate to Special:Watchlist.
  2. Locate a watchlist item displaying labels.
  3. Click the 'Label' text at the beginning of the label indicator.
  4. AC3: Clicking the 'Label' text navigates to Special:WatchlistLabels.

See AC1

Oh weird, this only works if you have this checked in your preferences (which I did have checked, but turns out it's not default)

image.png (804×2 px, 122 KB)

I'll update it so it works when if you don't ...

Change #1235078 had a related patch set uploaded (by Cparle; author: Cparle):

[mediawiki/core@master] Show labels on watchlist without enhanced recent changes

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

Change #1235078 merged by jenkins-bot:

[mediawiki/core@master] Show labels on watchlist without enhanced recent changes

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

@Cparle Confirmed display watchlist labels on watchlist page, as seen in the video/screenshot. I will mark this as Resolved, but do you know what happened to the Display watched changes, as seen in the Other issue section?

Test Result - Beta

Status: ✅ Pass
Environment: Beta
OS: macOS Tahoe 26.2
Browser: Chrome 143
Device: MBA
Emulated Device: NA

Test Artifact(s): Screenshots of Special:Watchlist and Special:WatchlistLabels

Test Steps

Test Case 1: Ensure labeled watchlist items display labels beside the item

  1. Add one or more items to the watchlist.
  2. Apply at least one label to a watchlist item.
  3. Navigate to Special:Watchlist.
  4. Locate the labeled watchlist item.
  5. AC1: The watchlist item displays a label indicator in the format Label: <label name> beside the item.
VideoScreenshot
2026-02-02_13-43-04.png (884×1 px, 212 KB)

Test Case 2: Ensure multiple labels are displayed correctly for a single watchlist item

  1. Apply two or more labels to the same watchlist item.
  2. Navigate to Special:Watchlist.
  3. Locate the watchlist item with multiple labels.
  4. AC2: All applied labels are displayed beside the item in a comma-separated list within the label indicator.

See AC1

Test Case 3: Ensure the label indicator links to Special:WatchlistLabels

  1. Navigate to Special:Watchlist.
  2. Locate a watchlist item displaying labels.
  3. Click the 'Label' text at the beginning of the label indicator.
  4. AC3: Clicking the 'Label' text navigates to Special:WatchlistLabels.

❌ Other Issue

What happened to the Display watched changes aka Special:Watchlist tab?

CurrentPrevious
2026-02-02_11-55-16.png (877×1 px, 210 KB)
2026-02-02_11-55-34.png (779×1 px, 344 KB)
GMikesell-WMF updated the task description. (Show Details)

do you know what happened to the Display watched changes, as seen in the Other issue section?

I can see it on beta enwiki? Is it still missing for you? I wonder is there something different in our preferences that means you don't see it ...

I blanked the watchlisttools-view message and the tab disappeared, but then deleted it and the tab reappeared. Sorry!