Inspired by a discussion with @matmarex, this task involves the work of ensuring people who are subscribed to a discussion are notified when someone else closes said discussion.
Where "close" in this context could mean the following (a non-exhaustive list):
- A template is added to mark the closure/resolution of a discussion (e.g. {atop} (T299516))
- Discussion is moved to an "archive" subpage:
- Discussion is deleted from the page
- Discussion is merged into another discussion (related: T298617)
Note: this task is the first step towards us ensuring people are made aware when a discussion they have subscribed to has been changed in a way that could prevent them from receiving further notifications about it. See more in T314973.
Story
When a discussion I am subscribed to, and expecting to receive notifications about, is moved to another page, deleted, or merged into another discussion, I want to be made aware that this change could impact my ability to receive notifications about this discussion so that I can: A) decide whether there is any action I need to take on my part to continue staying up to date about this discussion and B) avoid mistaking NOT receiving notifications about a discussion I previously subscribed to as evidence that there is no new activity within the discussion for me to see.
Requirements
- Notify the people who are subscribed to a discussion when one of the following things happens to said discussion: A) it is moved to another page, B) Deleted, or C) Merged into another discussion
- Ideally, we would be able to suppress notifications about discussions that are moved by a bot. See ===Open questions below.
- Note: it should not matter whether people initiated this subscription manually or automatically.
- The notification people receive in the cases described above should contain the following:
- Information
- The title of the discussion that was moved, deleted, or merged
- A notice informing people they may no longer receive notifications about said discussion
- Actions
- View the diff that caused the notification people are seeing to be sent
- Elect to stop receiving notifications about all future "moves" of discussions I am subscribed to
- The call to action for muting future moving notification should
appear within the notification card's ••• menu[can't be controlled] read as follows: Stop receiving notifications like this - The confirmation message shown after using the action links to Special:Preferences#mw-prefsection-echo-echosubscriptions (to show the user how to re-enable them)
- The email and no-JS fallback links to Special:Preferences#mw-prefsection-echo-echosubscriptions
- The call to action for muting future moving notification should
- Visit the page from which the discussion I was subscribe to has been moved
- Imagery/Iconography
- An icon of some kind that causes people to recognize this notification as being different from a notification about a new comment. Maybe the "⚠️ alert" icon?
- Information
- The notification people receive in the cases described above should read as follows:
- Case #1: Single topic moved from its original location
- Notification headline: Topic "NAME" was archived or removed from PAGE NAME
- Notification subtext: You might no longer receive notifications about this topic.
- Case #2: >1 topics moved from the same original location
- Notification headline: # topics were archived or removed from PAGE NAME
- Notification subtext: You might no longer receive notifications about these topics.
- Case #1: Single topic moved from its original location
- A new setting should be added to Special:Preferences#mw-prefsection-echo:
- Setting name: Talk page archiving
- Setting helper text (per T299657#8148197): Notify me when a topic I am subscribed to is archived or removed from a page, or if notifications about new comments posted in that topic can't be sent for other reasons.
Open question
- 1. Is it possible to filter out/suppress/not notify people about discussions that are moved by bots? If so, how much complexity would implementing this add to this task?
- Yes (T299657#8149424). Although, we're NOT going to implement this for now (T299657#8149427).
- 2.
What icon should accompany the notifications this task will implement?
Done
- Answers to all Open questions are documented
- All `Requirements are implemented