Page MenuHomePhabricator

[Epic] ShareCard: article sharing on mobile web
Open, Needs TriagePublic

Description

The Future-Audiences team is planning to introduce a new ShareCard feature to the mobile web version of Wikipedia. This feature is the successor to the Share Highlights experiment (T416432). It brings article-level sharing to mobile web as a stand-alone feature: a dedicated "share" button in the article's page actions opens a dialog that generates a shareable image of the article and hands it off to the device's native share sheet.

Unlike Share Highlights, ShareCard does not include text selection or text fragment URLs. It focuses on the article-level share flow only (at least for the time being).

Links

Background

Reader Growth ran Share Highlights as a Test Kitchen experiment. It combined article-level sharing with excerpt-level (quote) sharing using text selection and text fragment URLs. ShareCard keeps the article-level half of that work and makes it a feature in its own right, not an experiment variant.

What's different from Share Highlights

  • Scope: Article share only. No text selection, no floating share button, no text fragment URLs.
  • Delivery: Rolled out as a flagged feature, enabled per wiki. It is not a Test Kitchen experiment.

Approach

User flow

Screenshot iPhone 13 mini 09-24-2026 at 11.46.00 AM.png (1,080×2,340 px, 728 KB)
Screenshot iPhone 13 mini 09-24-2026 at 11.46.17 AM.png (1,080×2,340 px, 1 MB)

  1. Reader taps the share icon in the article's page actions
  2. A dialog opens with a generated card: article title, lead image, summary extract, and attribution
  3. Where the browser can share files via the Web Share API, the primary action opens the native share sheet with the card image and article link
  4. Where it can't, the primary action downloads the card as an image
  5. "Copy link" is available as a secondary action

Scope

  • Mobile web (Minerva)
  • Article pages (main namespace, view action)

Technical approach

The POC demonstrates a workable approach:

  • A share button added to the page actions toolbar
  • A Vue + Codex dialog, loaded client-side
  • Card content (title, image, extract) from the page summary API
  • The card image rendered client-side from the dialog's markup
  • Shared links tagged with a provenance parameter for measurement

The final home for the code is still open (see below). The details above may change when the implementation moves.

Rollout and measurement

ShareCard will ship as a flagged feature rollout, enabled on a per-wiki basis.

We plan to introduce new product health metrics for the feature, likely defined in GrowthBook. Metric definitions and the instrumentation needed to support them will be handled in a sub-task.

Open Questions

  • Where should the code live? Options include core (alongside the existing Web Share utility in mediawiki.page.ready) or an extension. If it goes to core, should the generic share action and the card generator be split?
  • Which wikis get it first? What's the rollout sequence for this feature?
  • How do we track provenance? Reuse Share Highlights' value, or register a new one so the two can be separated in analytics?
  • Security review: Do the third-party libraries used for image generation need a new review, or does the Share Highlights review cover them?
  • Known issues: Do the Share Highlights card issues carry over? (Missing images on some clients T424667, card height with images T426616)
  • Attribution: Do we need to change the card design to make use of the new attribution framework?
  • Browser support: What is the minimum browser support, and how should unsupported browsers degrade?

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1359341 had a related patch set uploaded (by Eric Gardner; author: Eric Gardner):

[mediawiki/extensions/WikimediaCustomizations@master] ShareCard: Hide images on the bad image list

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

Change #1359347 had a related patch set uploaded (by Eric Gardner; author: Eric Gardner):

[translatewiki@master] [Wikimedia Customizations] Add ShareCard message group

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

Change #1359347 merged by jenkins-bot:

[translatewiki@master] [Wikimedia Customizations] Add ShareCard message group

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

Change #1359341 merged by jenkins-bot:

[mediawiki/extensions/WikimediaCustomizations@master] ShareCard: Hide images on the bad image list

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

Change #1359937 had a related patch set uploaded (by Eric Gardner; author: Eric Gardner):

[mediawiki/extensions/WikimediaCustomizations@wmf/1.48.0-wmf.1] ShareCard: Hide images on the bad image list

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

Change #1359937 merged by jenkins-bot:

[mediawiki/extensions/WikimediaCustomizations@wmf/1.48.0-wmf.1] ShareCard: Hide images on the bad image list

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

Mentioned in SAL (#wikimedia-operations) [2026-10-28T22:34:59Z] <egardner@deploy1003> Started scap sync-world: Backport for [[gerrit:1359934|ShareCard: Show page views as a monthly rate (T439164)]] (1.48.0-wmf.1), [[gerrit:1359937|ShareCard: Hide images on the bad image list (T439161)]] (1.48.0-wmf.1), Bump symfony/mailer and symfony/mime to 7.4.22 (T442768) ([[gerrit:1359972|1.47.0-wmf.24]], [[gerrit:1359974|1.48.0-wmf.1]])

Mentioned in SAL (#wikimedia-operations) [2026-10-28T22:56:48Z] <egardner@deploy1003> sbassett, egardner: Backport for [[gerrit:1359934|ShareCard: Show page views as a monthly rate (T439164)]] (1.48.0-wmf.1), [[gerrit:1359937|ShareCard: Hide images on the bad image list (T439161)]] (1.48.0-wmf.1), Bump symfony/mailer and symfony/mime to 7.4.22 (T442768) ([[gerrit:1359972|1.47.0-wmf.24]], [[gerrit:1359974|1.48.0-wmf.1]]) synced to the testservers (see https://wikitech.wikimedia.org/

Mentioned in SAL (#wikimedia-operations) [2026-10-28T23:11:57Z] <egardner@deploy1003> Finished scap sync-world: Backport for [[gerrit:1359934|ShareCard: Show page views as a monthly rate (T439164)]] (1.48.0-wmf.1), [[gerrit:1359937|ShareCard: Hide images on the bad image list (T439161)]] (1.48.0-wmf.1), Bump symfony/mailer and symfony/mime to 7.4.22 (T442768) ([[gerrit:1359972|1.47.0-wmf.24]], [[gerrit:1359974|1.48.0-wmf.1]]) (duration: 36m 58s)

Change #1359990 had a related patch set uploaded (by Eric Gardner; author: Eric Gardner):

[mediawiki/extensions/WikimediaCustomizations@master] ShareCard: Keep text in reading order in right-to-left languages

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

Change #1359991 had a related patch set uploaded (by Eric Gardner; author: Eric Gardner):

[mediawiki/extensions/WikimediaCustomizations@master] ShareCard: Translate the names of common image licenses

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

Change #1360567 had a related patch set uploaded (by Eric Gardner; author: Eric Gardner):

[mediawiki/extensions/WikimediaCustomizations@master] ShareCard: Show formulas and formatting in the card text

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

Change #1359990 merged by jenkins-bot:

[mediawiki/extensions/WikimediaCustomizations@master] ShareCard: Keep text in reading order in right-to-left languages

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

Change #1359991 merged by jenkins-bot:

[mediawiki/extensions/WikimediaCustomizations@master] ShareCard: Translate the names of common image licenses

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

Change #1360567 merged by Eric Gardner:

[mediawiki/extensions/WikimediaCustomizations@master] ShareCard: Show formulas and formatting in the card text

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