Page MenuHomePhabricator

Share Highlight: remove card customization (background color options)
Closed, ResolvedPublic1 Estimated Story Points

Description

To simplify the experiment and meet the launch date, the team decided to remove the background option switching. The quote card will have an average background option only for the experiment. Refer to the decision log for more information.

Requirement:

  • Background color options are no longer available
  • Quote cards with image render average color background
  • Text-only cards render light color background
  • Verify card display in Minerva's light/night appearance mode

Acceptance Criteria

  • Remove background color options (average, light, and dark. Note: transparent was already removed from an earlier decision T421134#11853174)
  • Fallback logic when the image is not present. Average color depends on the image.

Event Timeline

Change #1277230 had a related patch set uploaded (by LWatson; author: LWatson):

[mediawiki/extensions/ReaderExperiments@master] Share Highlight: remove card customization

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

Test wiki on Patch demo by LWatson-WMF using patch(es) linked to this task was deleted:

https://1b00a4409d.catalyst.wmcloud.org/w/

Change #1277230 merged by jenkins-bot:

[mediawiki/extensions/ReaderExperiments@master] Share Highlight: remove card customization

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

HSwan-WMF set the point value for this task to 1.Apr 27 2026, 4:05 PM
Etonkovidova subscribed.

Checked in enwiki beta - all AC are checked.

The screenshots below are for FF (the button says "Download"); Chrome (the "Share button" is displayed) show the same result for the share cards sent via email (gmail).
(1) Share card on an article with a lead image - https://en.wikipedia.beta.wmcloud.org/wiki/Polar_bear?useskin=minerva&useformat=mobile&shareHighlight=1

Light modeDark mode
Screenshot 2026-04-27 at 6.40.14 PM.png (762×1,692 px, 706 KB)
Downloaded:
wikipedia-quote-polar-bear(2).png (660×1,136 px, 704 KB)
Screenshot 2026-04-27 at 6.45.39 PM.png (758×1,668 px, 729 KB)
Downloaded:
wikipedia-quote-polar-bear(3).png (660×1,136 px, 734 KB)

(2) Share card on an article without a lead image - https://en.wikipedia.beta.wmcloud.org/wiki/BBC?useskin=minerva&useformat=mobile&shareHighlight=1

Light modeDark mode
Screenshot 2026-04-27 at 7.05.46 PM.png (382×840 px, 95 KB)
Downloaded:
wikipedia-quote-bbc.png (660×660 px, 76 KB)
Screenshot 2026-04-27 at 6.51.02 PM.png (738×1,350 px, 169 KB)
Downloaded:
wikipedia-quote-bbc.png (660×660 px, 85 KB)

@lwatson - during testing I ran into a case when Safari (and only Safari) (desktop/mobile) doesn't include an image when Share is clicked and a share card is sent via email or a messenger.
https://en.wikipedia.beta.wmcloud.org/wiki/Brazil?useskin=minerva&useformat=mobile&shareHighlight=1

Safari 26
wikipedia-quote-1777385843601.png (660×1,136 px, 61 KB)
FF 148
wikipedia-quote-brazil.png (660×1,136 px, 134 KB)

My hypothesis is - the issue is specific to beta cluster due to Safari applying security display policy. I created T424667: [QA task] Share highlight - production check to do post-deployment check to make sure that the issue is not present in production.

Great, thanks for filing a follow-up ticket so we can recheck in production @Etonkovidova