== Steps to reproduce
# Visit https://it.m.wikipedia.org/wiki/Scleri
# Click on an image
== Expected results
User stays on the same page and the mobile media viewer opens
For example,
{F36964658}
== Actual results
The user is navigated to a different page that displays the image:
{F36964668}
== Environments observed
- Browser version: Chrome 112
- OS version: Mac OS Ventura
- Device model: MacBook Pro
- Device language: en
=== Check any additional observations
[] Observed on [[ https://en.wikipedia.org/wiki/Barack_Obama | Vector desktop skin ]]
[x] Observed on [[ https://en.m.wikipedia.org/wiki/Barack_Obama | MinervaNeue responsive skin ]]
[x] Observed while logged in
[x] Observed while //not// logged in (anonymous)
== Developer Notes
Note that this works on group 2 wikis, but not on group 0 or group 1. I believe this is related to the `wgParserEnableLegacyMediaDOM` config flag being set to `false` on group 0 and group 1.