This work is related to similar ticket for Desktop T307085
As a searcher, I want to have discoverability opportunities beyond a given wikipedia on the search result page to uncover relevant content.
Many articles have a community curated links on the same topic in other projects like wikiquotes, etc. Surface these links to the user, so they can explore other wiki projects and find relevant content.
Acceptance Criteria for Mobile:
- Place the inter-wiki link card after the sections card (or before the commons widget).
- Show the title "Related pages in other projects"
- The above title should be same style and follow same spacing (left, right, top) as the title in section card for visual consistency.
- Show maximum of two link at a time as shown in the mock.
- Tapping on the page title will take users to that page
- The project name should not link anywhere especially on mobile as the hit zones are too close for accidental taps to happen.
- Show "view other pages" link with the arrow (as shown in the mock) if there are more than 2 inter-wiki links.
- The link will cycle through all the links within the card. See the prototype for behaviour.
- The "view other pages" link should follow the same spacing (left, right, bottom) as the "more sections" link in section card for visual consistency.
- Update the font style for "+ n more sections" in the sections card to match the one in this ticket (for visual consistency).
- If there are no inter-wiki links for the article do not show this card.
- if the title is too long to fit on the card, use ellipses