Page MenuHomePhabricator

MediaViewer preference disappeared from Special:Preferences
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):
Go to Special:Preferences, appearance tab, on any wiki. In the 'files' section, there used to be an option to disable or enable MediaViewer. This preference is gone since some time.

Reported at https://de.wikipedia.org/w/index.php?title=Wikipedia:Technik/Werkstatt&oldid=267833474#Wo_ist_der_MV_in_den_Einstellungen_geblieben?

Event Timeline

This looks like it may have been introduced in rEMMV8022a88a7efc (T426225), which removed the onGetPreferences() hook while migrating carousel preferences to BetaFeatures. The desktop multimediaviewer-enable toggle was also registered in that same method and seems to have been unintentionally removed along with it.

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

[mediawiki/extensions/MultimediaViewer@master] Restore MediaViewer toggle in Special:Preferences

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

egardner set the point value for this task to 1.

Thanks @hgzh and @HakanIST for flagging. This regression was an unintended side-effect of another change we were doing in regards to a mobile-focused beta feature in MMV (mobile image carousel). I have a patch up which restores the erroneously-removed functionality.

Change #1300890 merged by jenkins-bot:

[mediawiki/extensions/MultimediaViewer@master] Restore MediaViewer toggle in Special:Preferences

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

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

[mediawiki/extensions/MultimediaViewer@wmf/1.47.0-wmf.6] Restore MediaViewer toggle in Special:Preferences

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

Change #1300906 merged by jenkins-bot:

[mediawiki/extensions/MultimediaViewer@wmf/1.47.0-wmf.6] Restore MediaViewer toggle in Special:Preferences

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

Mentioned in SAL (#wikimedia-operations) [2026-06-11T21:34:27Z] <egardner@deploy1003> Started scap sync-world: Backport for [[gerrit:1300906|Restore MediaViewer toggle in Special:Preferences (T428742)]]

Mentioned in SAL (#wikimedia-operations) [2026-06-11T21:51:40Z] <egardner@deploy1003> egardner: Backport for [[gerrit:1300906|Restore MediaViewer toggle in Special:Preferences (T428742)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-06-11T22:05:18Z] <egardner@deploy1003> Finished scap sync-world: Backport for [[gerrit:1300906|Restore MediaViewer toggle in Special:Preferences (T428742)]] (duration: 30m 51s)

This change has been backported and the toggle functionality should be restored in Special:Preferences.

Translations will need to be restored separately (see T428959).

The preference is back, thanks!