Page MenuHomePhabricator

Support selecting all entries at once on Special:EditWatchlist
Closed, ResolvedPublic

Description

Currently, on Special:EditWatchlist, you must manually select every entry you wish to remove from your watchlist. This makes it very tedious if you want to remove all or almost all of the entries. You can work around this by using the raw version of Special:EditWatchlist or shift-clicking on the list, but these are hard to discover.

Instead, it would be helpful to have an explicit option to select all the entries at once.

This request received 16 votes during the 2023 Community Wishlist Survey.

Event Timeline

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

Change 906649 had a related patch set uploaded (by Jkieserman; author: Jkieserman):

[mediawiki/core@master] Add a check-all checkbox per namespace in Special:EditWatchlist

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

Test wiki created on Patch demo by JKieserman (WMF) using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/b390099d59/w

Test wiki on Patch demo by JKieserman (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/b390099d59/w/

Test wiki created on Patch demo by JKieserman (WMF) using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/e03c9f1380/w

Test wiki on Patch demo by JKieserman (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/e03c9f1380/w/

Change 906649 merged by jenkins-bot:

[mediawiki/core@master] Add a check-all checkbox per namespace in Special:EditWatchlist

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

Change 906686 had a related patch set uploaded (by Neil P. Quinn-WMF; author: Neil P. Quinn-WMF):

[mediawiki/core@master] Special:EditWatchlist: Hide check-all in no JS mode

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

Test wiki created on Patch demo by Neil Shah-Quinn (WMF) using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/5c079ba276/w

Change 906686 merged by jenkins-bot:

[mediawiki/core@master] Special:EditWatchlist: Hide check-all in no JS mode

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

Change 906732 had a related patch set uploaded (by Tchanders; author: Tchanders):

[mediawiki/core@master] editwatchlist.js: Update state of check-all checkboxes

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

Test wiki created on Patch demo by JKieserman (WMF) using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/53fcd69df9/w

Change 906732 merged by jenkins-bot:

[mediawiki/core@master] editwatchlist.js: Update state of check-all checkboxes

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

Tagging User-notice as this is a (completed?) Community-Wishlist-Survey-2023 proposal :-)

Yes, I'd say it's complete now, although the patches still have to ride the train this week.

The only possible quibble I can think of is that this adds a select-all checkbox for each namespace on the list; there isn't one to select the whole list at once. But I still think this is more than good enough!

Also it looks like you didn't actually tag this with User-notice 😊

Also it looks like you didn't actually tag this with User-notice 😊

whoops!

Test wiki on Patch demo by Neil Shah-Quinn (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/5c079ba276/w/

For Tech News, do you have any suggested wording for the entry? I imagine something like:

The page Special:EditWatchlist now has a "Check all" option to select all the pages in a namespace. This feature request was voted #161 in the 2023 Community Wishlist Survey. [1]

Please correct or confirm.

One minor tweak:

The page Special:EditWatchlist now has a "Check all" options to select all the pages in a namespace. This feature request was voted #161 in the 2023 Community Wishlist Survey. [1]

Otherwise, looks good! Thank you for drafting the wording.

@Quiddity I just realized the option performs extremely badly on large watchlist sections. We probably want to change the Tech News announcement, but I'd defer to you about how.

@nshahquinn-wmf It's fine to change now. I haven't marked it for translation yet (and won't for ~5 more hours). Change freely, or bump until next issue if needed.

I've removed it from this edition, for now. If you want to tweak and re-add the text, that's fine, within the next ~22hours. Otherwise we can add it next week (or later), as preferred.

Change 912402 had a related patch set uploaded (by Neil P. Quinn-WMF; author: Neil P. Quinn-WMF):

[mediawiki/core@master] editwatchlist.js: Use jQuery for performant select-all

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

Change 912402 merged by jenkins-bot:

[mediawiki/core@master] editwatchlist.js: Use jQuery for performant select-all

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

@Quiddity the performance issues have now been double-fixed (fixed once, and then fixed again better), so this is ready to announce!

Test wiki on Patch demo by JKieserman (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/53fcd69df9/w/