Page MenuHomePhabricator

[L] Mobile Quick View: Show interwiki links for the article
Closed, ResolvedPublic

Description

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

Link to prototype

Link to Figma

Special_Search (21).png (800×360 px, 66 KB)

Event Timeline

Sneha renamed this task from Mobile Quick View: Show interwiki links for the article. to Mobile Quick View: Show interwiki links for the article.Jan 20 2023, 7:11 PM
CBogen renamed this task from Mobile Quick View: Show interwiki links for the article to [L] Mobile Quick View: Show interwiki links for the article.Feb 8 2023, 5:33 PM
CBogen updated the task description. (Show Details)

Change 890400 had a related patch set uploaded (by Simone Cuomo; author: Simone Cuomo):

[mediawiki/extensions/SearchVue@master] Mobile Quick View: Show interwiki links for the article

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

Change 890400 merged by jenkins-bot:

[mediawiki/extensions/SearchVue@master] Mobile Quick View: Show interwiki links for the article

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

Etonkovidova subscribed.

Checked in pilot wikis (ruwiki, ptwiki, idwiki - wmf.27)