Page MenuHomePhabricator

Image Browsing: Opt-out mechanisms
Closed, ResolvedPublic3 Estimated Story Points

Description

Provide opt-out mechanisms for readers to disable the carousel.

  • Logged-in reader opt-out: Add a toggle in Preferences to disable the carousel for logged-in users.

Acceptance Criteria

  • Logged-in readers can disable/enable carousel in user settings. This shouldn't affect logged-out readers, who will always see the carousel on mobile Minerva.

Event Timeline

SherryYang-WMF updated the task description. (Show Details)

@JScherer-WMF do you have a POV on where in Preferences this toggle ought to go? happy to talk more about options too.

SherryYang-WMF set the point value for this task to 3.

Since this will only apply to the mobile site you have two options

  1. Only show the setting if the user is using Minerva skin by adding hide-if to the preference field declaration:
'hide-if' => [ '===', 'skin', 'minerva' ]
  1. Change the wording to specify the carousel is only available on mobile.
SherryYang-WMF lowered the priority of this task from High to Low.Mar 18 2026, 4:39 PM

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

[mediawiki/extensions/MultimediaViewer@master] Add a new mobile setting to turn off carousel

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

SherryYang-WMF raised the priority of this task from Low to Medium.Apr 1 2026, 4:44 PM

Change #1264872 merged by jenkins-bot:

[mediawiki/extensions/MultimediaViewer@master] Add a new mobile setting to turn off carousel

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

QA Instructions

Reproduction Steps

Main Task: Ensure "Disable image carousel on the mobile site" toggle Special:Preferences works for logged in mobile

Sample Flow
  1. Visit Special:preferences on mobile.
  2. On mobile click "Disable image carousel on the mobile site"
  3. Confirm no carousel on https://3e365bbbf8.catalyst.wmcloud.org/wiki/Paris
  4. Visit https://3e365bbbf8.catalyst.wmcloud.org/wiki/Special:Preferences on desktop
  5. Change language to Canadian English
  6. Visit https://3e365bbbf8.catalyst.wmcloud.org/wiki/Paris in mobile
  7. Expected: No carousel
Etonkovidova subscribed.

Thanks, @KSarabia-WMF for QA Instructions!

Checked the steps - all works as expected

  • mobile site with inactive the "Disable image carousel on the mobile site" option, shows the image carousel
  • desktop Preferences -Appearance doesn't display the "Disable image carousel on the mobile site" option and doesn't shoe the mage carousel

Note:

  • checked for other skins on desktop - the desktop doesn't display the image carousel