⚓ T412792 Add confirmation dialog when removing items on Special:EditWatchlist
Page Menu
Phabricator
Create Task
Maniphest
T412792
Add confirmation dialog when removing items on Special:EditWatchlist
Closed, Resolved
Public
Feature
Actions
Edit Task
Edit Related Tasks...
Create Subtask
Edit Parent Tasks
Edit Subtasks
Merge Duplicates In
Close As Duplicate
Edit Related Objects...
Edit Commits
Edit Mocks
Mute Notifications
Protect as security issue
Assigned To
Samwilson
Authored By
Samwilson
Dec 16 2025, 11:25 AM
2025-12-16 11:25:28 (UTC+0)
Tags
Community-Tech (Fox Squad)
(QA)
MediaWiki-Watchlist
(Backlog)
MW-1.46-notes (1.46.0-wmf.16; 2026-02-17)
Referenced Files
F71967713: 2026-02-12_14-58-50.png
Feb 12 2026, 11:04 PM
2026-02-12 23:04:37 (UTC+0)
F71967674: 2026-02-12_14-58-19.png
Feb 12 2026, 11:04 PM
2026-02-12 23:04:37 (UTC+0)
F71966704: 2026-02-12_14-51-54.png
Feb 12 2026, 11:04 PM
2026-02-12 23:04:37 (UTC+0)
F71966707: 2026-02-12_14-53-35.png
Feb 12 2026, 11:04 PM
2026-02-12 23:04:37 (UTC+0)
F71966954: 2026-02-12_14-55-31.png
Feb 12 2026, 11:04 PM
2026-02-12 23:04:37 (UTC+0)
F71630875: 2026-01-29_13-24-57.png
Jan 30 2026, 10:22 PM
2026-01-30 22:22:20 (UTC+0)
F71630872: 2026-01-29_13-24-11.png
Jan 30 2026, 10:22 PM
2026-01-30 22:22:20 (UTC+0)
F71630852: 2026-01-29_13-22-41.png
Jan 30 2026, 10:22 PM
2026-01-30 22:22:20 (UTC+0)
View All 16 Files
Subscribers
Aklapper
GMikesell-WMF
JSengupta-WMF
Samwilson
Description
When selecting some pages and clicking 'Unwatch', a confirmation dialog should be shown before the form is submitted.
The remove button should be destructive in the no-JS interface.
It should not be destructive when JS is enabled, and clicking the button will open a confirmation dialog.
Messages:
Removal button and dialog title:
Remove {{PLURAL:$1|page|pages}}
Dialog body:
Remove pages titled x, y, z and 10 others from your watchlist?
Dialog body if no items are selected:
Please select the pages to remove from your watchlist.
Buttons:
Cancel
OK
Remove
{F71524747}
Derived Requirement
Ensure that when a user attempts to remove watched pages on Special:EditWatchlist, the system clearly confirms the action before submission. The removal control must behave as destructive only in the no-JavaScript interface, while JavaScript-enabled interactions must present a confirmation dialog with accurate messaging based on the user’s selection.
Test Steps
Test Case 1: Ensure confirmation dialog appears when removing selected items with JavaScript enabled
Navigate to Special:EditWatchlist with JavaScript enabled.
Select one or more watched pages.
Click the "Remove title" button.
Observe the displayed dialog.
✅❓❌⬜
AC1:
A confirmation dialog is shown with the correct title, body text listing selected pages (including pluralization when applicable), and the buttons Cancel, OK, and Remove.
Test Case 2: Ensure dialog messaging reflects multiple selected items
On Special:EditWatchlist with JavaScript enabled, select multiple watched pages.
Click the "Remove title" button.
Observe the dialog body text.
✅❓❌⬜
AC2:
The dialog body correctly lists selected page titles and summarizes additional pages using pluralized wording (for example, “and N others”).
Test Case 3: Ensure dialog message appears when no items are selected
Navigate to Special:EditWatchlist with JavaScript enabled.
Do not select any watched pages.
Click the "Remove title" button.
Observe the dialog content.
✅❓❌⬜
AC3:
A dialog is displayed stating that no pages are selected and prompting the user to select pages to remove.
Test Case 4: Ensure remove button is destructive in no-JavaScript interface
Navigate to Special:EditWatchlist with JavaScript disabled.
Select one or more watched pages.
Observe the styling and behavior of the remove button.
Click the remove button.
✅❓❌⬜
AC4:
The remove button is presented as destructive and submits the form directly without showing a confirmation dialog.
QA Results -Beta
AC
Status
Details
T412792#11613158
T412792#11613158
T412792#11613158
T412792#11613158
Details
Related Changes in Gerrit:
Subject
Repo
Branch
Lines +/-
Special:EditWatchlist: Use consistent phrasing, and remove unused messages
mediawiki/core
master
+2
-8
Special:EditWatchlist: Fix label dialog message parameters
mediawiki/core
master
+3
-3
Special:EditWatchlist: add confirmation dialog when unwatching
mediawiki/core
master
+86
-34
Rename mediawiki.special.watchlistedit/LabelDialog.vue to EditWatchlistDialog.vue
mediawiki/core
master
+4
-4
Customize query in gerrit
Event Timeline
Samwilson
created this task.
Dec 16 2025, 11:25 AM
2025-12-16 11:25:28 (UTC+0)
Restricted Application
added a project:
Moderator-Tools-Team
View Herald Transcript
Dec 16 2025, 11:25 AM
2025-12-16 11:25:29 (UTC+0)
Restricted Application
added a subscriber:
Aklapper
View Herald Transcript
Samwilson
edited projects, added
Community-Tech (Fox Squad)
Watchlist-Labels
; removed
MediaWiki-Watchlist
Dec 16 2025, 11:25 AM
2025-12-16 11:25:49 (UTC+0)
Samwilson
updated the task description.
(Show Details)
Dec 16 2025, 11:32 AM
2025-12-16 11:32:20 (UTC+0)
Samwilson
removed a project:
Moderator-Tools-Team
Samwilson
edited projects, added
MediaWiki-Watchlist
; removed
Watchlist-Labels
Samwilson
edited projects, added
Watchlist-Labels
; removed
MediaWiki-Watchlist
Samwilson
moved this task from
Backlog
to
Assign labels on Special:EditWatchlist
on the
Watchlist-Labels
board.
Dec 17 2025, 7:18 AM
2025-12-17 07:18:04 (UTC+0)
Samwilson
claimed this task.
Jan 14 2026, 4:03 AM
2026-01-14 04:03:18 (UTC+0)
Samwilson
moved this task from
Ready for Dev
to
In Development
on the
Community-Tech (Fox Squad)
board.
Samwilson
edited projects, added
MediaWiki-Watchlist
; removed
Watchlist-Labels
Samwilson
updated the task description.
(Show Details)
Jan 14 2026, 4:17 AM
2026-01-14 04:17:09 (UTC+0)
Samwilson
updated the task description.
(Show Details)
Jan 14 2026, 9:25 AM
2026-01-14 09:25:06 (UTC+0)
Samwilson
added a subscriber:
JSengupta-WMF
Jan 14 2026, 9:36 AM
2026-01-14 09:36:56 (UTC+0)
Comment Actions
@JSengupta-WMF
Should the destructive button in the dialog say
Remove
or
Delete
? The designs have both:
Samwilson
updated the task description.
(Show Details)
Jan 14 2026, 9:38 AM
2026-01-14 09:38:06 (UTC+0)
JSengupta-WMF
added a comment.
Jan 14 2026, 11:33 AM
2026-01-14 11:33:32 (UTC+0)
Comment Actions
Remove sounds better.
gerritbot
added a comment.
Jan 15 2026, 2:40 AM
2026-01-15 02:40:53 (UTC+0)
Comment Actions
Change #1226991 had a related patch set uploaded (by Samwilson; author: Samwilson):
[mediawiki/core@master] Special:EditWatchlist: add confirmation dialog when unwatching
gerritbot
added a project:
Patch-For-Review
Jan 15 2026, 2:40 AM
2026-01-15 02:40:55 (UTC+0)
gerritbot
added a comment.
Jan 15 2026, 2:54 AM
2026-01-15 02:54:36 (UTC+0)
Comment Actions
Change #1226994 had a related patch set uploaded (by Samwilson; author: Samwilson):
[mediawiki/core@master] Rename mediawiki.special.watchlistedit/LabelDialog.vue to EditWatchlistDialog.vue
Samwilson
moved this task from
In Development
to
Feedback and Review
on the
Community-Tech (Fox Squad)
board.
Jan 15 2026, 5:54 AM
2026-01-15 05:54:38 (UTC+0)
gerritbot
added a comment.
Jan 15 2026, 11:23 AM
2026-01-15 11:23:50 (UTC+0)
Comment Actions
Change #1226994
merged
by jenkins-bot:
[mediawiki/core@master] Rename mediawiki.special.watchlistedit/LabelDialog.vue to EditWatchlistDialog.vue
Samwilson
changed the task status from
Open
to
In Progress
Jan 16 2026, 5:30 AM
2026-01-16 05:30:35 (UTC+0)
Samwilson
moved this task from
Feedback and Review
to
In Development
on the
Community-Tech (Fox Squad)
board.
Samwilson
added a comment.
Jan 16 2026, 5:38 AM
2026-01-16 05:38:07 (UTC+0)
Comment Actions
@JSengupta-WMF
And (sorry, I should've confirmed these before), is it correct that the removal button is
Remove title
(singular), and the dialog title is
Remove page
(also singular)?
Should either change from e.g.
title
to
titles
when more than one checkbox is selected?
The main column title is
Page title
Samwilson
moved this task from
In Development
to
Feedback and Review
on the
Community-Tech (Fox Squad)
board.
Jan 16 2026, 7:33 AM
2026-01-16 07:33:46 (UTC+0)
JSengupta-WMF
added a comment.
Edited
Jan 16 2026, 10:03 AM
2026-01-16 10:03:57 (UTC+0)
Comment Actions
Yes the CTA and the dialogue box titles should change from singular to plural if multiple items are selected. I think column name should remain singular because it's the header of the cells that each contain only a single page title. Thanks for catching this!
Samwilson
moved this task from
Feedback and Review
to
In Development
on the
Community-Tech (Fox Squad)
board.
Jan 19 2026, 5:41 AM
2026-01-19 05:41:07 (UTC+0)
Samwilson
updated the task description.
(Show Details)
Jan 19 2026, 6:01 AM
2026-01-19 06:01:16 (UTC+0)
Samwilson
moved this task from
In Development
to
Feedback and Review
on the
Community-Tech (Fox Squad)
board.
Jan 20 2026, 12:06 AM
2026-01-20 00:06:21 (UTC+0)
gerritbot
added a comment.
Jan 27 2026, 1:24 PM
2026-01-27 13:24:32 (UTC+0)
Comment Actions
Change #1226991
merged
by jenkins-bot:
[mediawiki/core@master] Special:EditWatchlist: add confirmation dialog when unwatching
Maintenance_bot
removed a project:
Patch-For-Review
Jan 27 2026, 1:32 PM
2026-01-27 13:32:27 (UTC+0)
ReleaseTaggerBot
added a project:
MW-1.46-notes (1.46.0-wmf.14; 2026-02-03)
Jan 27 2026, 2:00 PM
2026-01-27 14:00:30 (UTC+0)
Samwilson
moved this task from
Feedback and Review
to
QA
on the
Community-Tech (Fox Squad)
board.
Jan 28 2026, 12:50 AM
2026-01-28 00:50:45 (UTC+0)
GMikesell-WMF
updated the task description.
(Show Details)
Jan 29 2026, 9:26 PM
2026-01-29 21:26:20 (UTC+0)
GMikesell-WMF
subscribed.
Jan 30 2026, 10:22 PM
2026-01-30 22:22:20 (UTC+0)
Comment Actions
@Samwilson
Can you please take a look at AC1 since it relates to all, and AC2/AC4 are just asking for confirmation? Thanks!
Test Result - Beta
Status:
✅ PASS / ❓ Need More Info / ❌ FAIL
Environment:
Beta
OS:
macOS Tahoe 26.2
Browser:
Chrome 143
Device:
MBA
Emulated Device:
NA
Test Artifact(s):
Screenshots of confirmation dialog and no-JS interface on Special:EditWatchlist
Test Steps
Test Case 1: Ensure confirmation dialog appears when removing selected items with JavaScript enabled
Navigate to Special:EditWatchlist with JavaScript enabled.
Select one or more watched pages.
Click the "Remove page" button.
Observe the displayed dialog.
AC1:
A confirmation dialog is shown with the correct title, body text listing selected pages (including pluralization when applicable), and the buttons Cancel, OK, and Remove.
They all have "Remove pages", besides "Remove title" as specified in the task and figma.
The dialog box has different wording does not match figma/task description
Single
Test Case 2: Ensure dialog messaging reflects multiple selected items
On Special:EditWatchlist with JavaScript enabled, select multiple watched pages.
Click the "Remove title" button.
Observe the dialog body text.
4.❓
AC2:
The dialog body correctly lists selected page titles and summarizes additional pages using pluralized wording (for example, “and N others”).
Just confirming the number of titles after start after 5, right?
Plural
Remove 7
Remove 16
Test Case 3: Ensure dialog message appears when no items are selected
Navigate to Special:EditWatchlist with JavaScript enabled.
Do not select any watched pages.
Click the "Remove title" button.
Observe the dialog content.
AC3:
A dialog is displayed stating that no pages are selected and prompting the user to select pages to remove.
Test Case 4: Ensure remove button is destructive in no-JavaScript interface
Navigate to Special:EditWatchlist with JavaScript disabled.
Select one or more watched pages.
Observe the styling and behavior of the remove button.
Click the remove button.
AC4:
The remove button is presented as destructive and submits the form directly without showing a confirmation dialog.
Function directly submits without any prompts. Can you verify the look of it if this is as expected?
Single
Plural
GMikesell-WMF
updated the task description.
(Show Details)
Jan 30 2026, 10:23 PM
2026-01-30 22:23:17 (UTC+0)
GMikesell-WMF
updated the task description.
(Show Details)
GMikesell-WMF
moved this task from
QA
to
In Development
on the
Community-Tech (Fox Squad)
board.
Samwilson
updated the task description.
(Show Details)
Feb 2 2026, 2:57 AM
2026-02-02 02:57:29 (UTC+0)
Samwilson
added a comment.
Feb 2 2026, 3:03 AM
2026-02-02 03:03:30 (UTC+0)
Comment Actions
❌ AC1: A confirmation dialog is shown with the correct title, body text listing selected pages (including pluralization when applicable), and the buttons Cancel, OK, and Remove.
They all have "Remove pages", besides "Remove title" as specified in the task and figma.
I've updated the task description to the correct 'Remove pages'. As far as I can see, that's what Figma already has.
The dialog box has different wording does not match figma/task description
The difference is between "Remove the page titled X from your watchlist?" and "Remove X from your watchlist?"
@JSengupta-WMF
I removed the reference to titles because it doesn't seem like we need to be making a distinction between pages and their titles here, is that okay? We say for example "X has been added to your watchlist" and not "A page titled X has been added to your watchlist".
❓ AC2: The dialog body correctly lists selected page titles and summarizes additional pages using pluralized wording (for example, “and N others”).
Just confirming the number of titles after start after 5, right?
Yep, that's correct.
❓ AC4: The remove button is presented as destructive and submits the form directly without showing a confirmation dialog.
Function directly submits without any prompts. Can you verify the look of it if this is as expected?
Good catch, thanks! I'll update the confirmation message to say "page(s)" instead of "title(s)".
gerritbot
added a comment.
Feb 2 2026, 4:02 AM
2026-02-02 04:02:43 (UTC+0)
Comment Actions
Change #1235610 had a related patch set uploaded (by Samwilson; author: Samwilson):
[mediawiki/core@master] Special:EditWatchlist: Use consistent phrasing, and remove unused messages
gerritbot
added a project:
Patch-For-Review
Feb 2 2026, 4:02 AM
2026-02-02 04:02:45 (UTC+0)
Samwilson
moved this task from
In Development
to
Feedback and Review
on the
Community-Tech (Fox Squad)
board.
Feb 2 2026, 4:08 AM
2026-02-02 04:08:50 (UTC+0)
gerritbot
added a comment.
Feb 2 2026, 10:52 AM
2026-02-02 10:52:56 (UTC+0)
Comment Actions
Change #1235764 had a related patch set uploaded (by Samwilson; author: Samwilson):
[mediawiki/core@master] Special:EditWatchlist: Fix label dialog message parameters
gerritbot
added a comment.
Feb 2 2026, 11:37 AM
2026-02-02 11:37:10 (UTC+0)
Comment Actions
Change #1235764
merged
by jenkins-bot:
[mediawiki/core@master] Special:EditWatchlist: Fix label dialog message parameters
gerritbot
added a comment.
Feb 11 2026, 12:45 AM
2026-02-11 00:45:54 (UTC+0)
Comment Actions
Change #1235610
merged
by jenkins-bot:
[mediawiki/core@master] Special:EditWatchlist: Use consistent phrasing, and remove unused messages
ReleaseTaggerBot
edited projects, added
MW-1.46-notes (1.46.0-wmf.16; 2026-02-17)
; removed
MW-1.46-notes (1.46.0-wmf.14; 2026-02-03)
Feb 11 2026, 1:00 AM
2026-02-11 01:00:19 (UTC+0)
Samwilson
moved this task from
Feedback and Review
to
QA
on the
Community-Tech (Fox Squad)
board.
Feb 11 2026, 1:17 AM
2026-02-11 01:17:32 (UTC+0)
Comment Actions
@GMikesell-WMF
Can you have another look? The last part should be sorted out now.
Maintenance_bot
removed a project:
Patch-For-Review
Feb 11 2026, 1:30 AM
2026-02-11 01:30:39 (UTC+0)
GMikesell-WMF
added a comment.
Feb 12 2026, 11:04 PM
2026-02-12 23:04:37 (UTC+0)
Comment Actions
@Samwilson
Ok looks like everything is good to go now, as seen in the screenshots below. I will mark this as Resolved. Thanks for all your work!
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 confirmation dialog and no-JS interface on Special:EditWatchlist
Test Steps
Test Case 1: Ensure confirmation dialog appears when removing selected items with JavaScript enabled
Navigate to Special:EditWatchlist with JavaScript enabled.
Select one or more watched pages.
Click the "Remove page" button.
Observe the displayed dialog.
AC1:
A confirmation dialog is shown with the correct title, body text listing selected pages (including pluralization when applicable), and the buttons Cancel, OK, and Remove.
❌ AC1: A confirmation dialog is shown with the correct title, body text listing selected pages (including pluralization when applicable), and the buttons Cancel, OK, and Remove.
They all have "Remove pages", besides "Remove title" as specified in the task and figma.
I've updated the task description to the correct 'Remove pages'. As far as I can see, that's what Figma already has.
None
Single
Plural
Test Case 2: Ensure dialog messaging reflects multiple selected items
On Special:EditWatchlist with JavaScript enabled, select multiple watched pages.
Click the "Remove title" button.
Observe the dialog body text.
4.✅
AC2:
The dialog body correctly lists selected page titles and summarizes additional pages using pluralized wording (for example, “and N others”).
Plural
Test Case 3: Ensure dialog message appears when no items are selected
Navigate to Special:EditWatchlist with JavaScript enabled.
Do not select any watched pages.
Click the "Remove title" button.
Observe the dialog content.
AC3:
A dialog is displayed stating that no pages are selected and prompting the user to select pages to remove.
Test Case 4: Ensure remove button is destructive in no-JavaScript interface
Navigate to Special:EditWatchlist with JavaScript disabled.
Select one or more watched pages.
Observe the styling and behavior of the remove button.
Click the remove button.
AC4:
The remove button is presented as destructive and submits the form directly without showing a confirmation dialog.
Function directly submits without any prompts. Can you verify the look of it if this is as expected?
❓ AC4: The remove button is presented as destructive and submits the form directly without showing a confirmation dialog.
Function directly submits without any prompts. Can you verify the look of it if this is as expected?
Good catch, thanks! I'll update the confirmation message to say "page(s)" instead of "title(s)".
Single
Plural
GMikesell-WMF
closed this task as
Resolved
Feb 12 2026, 11:05 PM
2026-02-12 23:05:34 (UTC+0)
GMikesell-WMF
updated the task description.
(Show Details)
Log In to Comment
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct.
Wikimedia Foundation
Code of Conduct
Disclaimer
CC-BY-SA
GPL
Credits