Page MenuHomePhabricator

Feature Request: Include article section when sharing
Closed, ResolvedPublic

Description

When a user shares an article, it only shares the base article URL, even if the user has tapped a particular section from the table of contents. For example, https://en.wikipedia.org/wiki/YouTube?wprov=sfti1

This feature request is to also include the section that the sender has selected in the table of contents at the time of sharing, similar to Desktop:

https://en.wikipedia.org/wiki/YouTube?wprov=sfti1#Senior_leadership

This will send the recipient to the correct section when tapping the shared link.

Volunteer PR: https://github.com/wikimedia/wikipedia-ios/pull/4530

Note: this may be a duplicate of T294666.

Test Steps:

  1. Open an article
  2. Select particular section in table of contents.
  3. Share the article
  4. Confirm article section is included in the share URL. Confirm recipient is navigated to correct section upon tap.

Event Timeline

Tsevener updated the task description. (Show Details)
Dmantena added subscribers: ABorbaWMF, Dmantena.

@ABorbaWMF Should be testable on TestFlight in main app target: Wikipedia 7.4.2 (Build 2654)