Page MenuHomePhabricator

Image Browsing: article-level opt-out
Closed, ResolvedPublic3 Estimated Story Points

Description

As an editor, I want to be able to add an exclusion to keep certain articles from getting the image carousel

  • Evaluate the below options and recommend one
    • Option 1: Community configuration
    • Option 2: Page-level magic word
    • Option 3: New body class
  • Implement the chosen option

Event Timeline

May need to check in with Eliza and content transform team before starting

HSwan-WMF set the point value for this task to 3.Mar 24 2026, 4:57 PM
SherryYang-WMF lowered the priority of this task from High to Medium.Mar 31 2026, 9:20 PM

Change #1270066 had a related patch set uploaded (by Kimberly Sarabia; author: Kimberly Sarabia):

[mediawiki/extensions/MultimediaViewer@master] MultimediaViewer: Add page-level opt-out

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

QA Instructions

  • Use one page with at least 3 images and test both before and after adding __NOMEDIAVIEWERCAROUSEL__.

Manual check:

  • Make sure MediaViewerMobileCarousel is enabled in your local config.
  • Open a page with 3+ images in mobile view using Minerva.
  • Confirm the carousel renders at the top.
  • Edit that same page and add __NOMEDIAVIEWERCAROUSEL__
  • Save the page and hard-refresh
  • Reopen the same page in mobile view and confirm the carousel is gone.

Change #1270066 merged by jenkins-bot:

[mediawiki/extensions/MultimediaViewer@master] MultimediaViewer: Add page-level opt-out

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

This doesn't seem to be live or testable currently, so we may need to review the configuration and then try to QA again.

Test Beta in TestWiki (Config Patch needed)

Change #1288996 had a related patch set uploaded (by Kimberly Sarabia; author: Kimberly Sarabia):

[operations/mediawiki-config@master] Make image browsing available in Beta and TestWiki

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

SherryYang-WMF raised the priority of this task from Low to Medium.Tue, May 19, 5:46 PM
SherryYang-WMF raised the priority of this task from Medium to High.Tue, May 19, 5:51 PM

Change #1288996 abandoned by Kimberly Sarabia:

[operations/mediawiki-config@master] Make image browsing available in Beta and TestWiki

Reason:

Waiting for BetaFeatures hook-up for image browsing in the local ReaderExperiments. Any config I add now would be speculative. Abandoning for when the "Carousel BetaFeature" is merged

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

Change #1297782 had a related patch set uploaded (by Kimberly Sarabia; author: Kimberly Sarabia):

[mediawiki/extensions/MultimediaViewer@master] Add exception for main page

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

Change #1297782 merged by jenkins-bot:

[mediawiki/extensions/MultimediaViewer@master] Add exception for main page

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

Change #1298726 had a related patch set uploaded (by Marco Fossati; author: Kimberly Sarabia):

[mediawiki/extensions/MultimediaViewer@wmf/1.47.0-wmf.5] Add exception for main page

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

Change #1298726 abandoned by Matthias Mullie:

[mediawiki/extensions/MultimediaViewer@wmf/1.47.0-wmf.5] Add exception for main page

Reason:

I made a single patch squashing this one alongside a couple other recently merged ones to facilitate/speed up deployment: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MultimediaViewer/+/1298841

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