T263821 introduced a way for people using desktop skins to elect to receive notifications when new topics are posted on talk pages they are interested in.
This task involves the work of extending this functionality to people accessing/using talk pages on mobile.
Requirements
For people who
- 1) Have the Enable topic subscription setting within Special:Preferences#mw-prefsection-editing enabled and
- 2) Are logged in
- 3) Are accessing Wikipedia using any of the following skins: Minerva
...the following should be true:
- 3) When visiting a talk page, a link should appear within the skin's existing ⋮ menu called Subscribe
- //Note: the ⋮ menu is the menu that includes items like, Page information, Permanent link, What links here, and Move
- 4). When people click this Subscribe link a toast should appear that reads: You have subscribed! You will receive notifications when new topics are started on this page.
- 5) The link that read Subscribe in step 3), should now read Unsubscribe
- 6) Whenever a new topic is published on the page they took "Step 3)" on by someone other than them, they should receive a notification, via Echo, that reads: New topic "TOPIC NAME" started on PAGE TOPIC WAS STARTED ON by USERNAME OF PERSON WHO STARTED TOPIC"
- 7) When someone clicks an Unsubscribe link a toast should appear that reads: You have unsubscribed. You will no longer receive notifications when new topics are started on this page.
- 8) Whenever a new topic is published on the page they took "Step 7)" on by someone other than them, they should NOT receive a notification via Echo
Open questions
- 1. What technical approach will we take for adding the new Subscribe item this task is "asking" for to the ⋮ menu? Currently, MobileFrontend does not have a hook that would enable the Editing Team to do so.