Two years ago a feature was added to the image overlay to be able to swipe left and right between images in **beta**.
* https://en.m.wikipedia.org/wiki/Cat?mobileaction=stable#/media/File%3ACat_poster_1.jpg
vs
* https://en.m.wikipedia.org/wiki/Cat?mobileaction=beta#/media/File%3ACat_poster_1.jpg
That's the only difference between the two.
After some analysis it seems the current solution doesn't work too well.
Going forward we should explore using a JS library for this functionality. There is not much use in keeping the existing code around.
=ac
[] Remove `mobile.mediaviewer.beta` code
[] Remove logic in [[ https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/blob/master/resources/skins.minerva.scripts/init.js#L215-L240 | `skins.minerva.scripts/init.js` ]]
[] Swipe code should be removed
https://www.mediawiki.org/wiki/Compatibility#Browsers
= sign off checklist
[] Create a new task to add swipe gestures to the mobile experience.