Two years ago a feature was added to the image overlay to be able to swipe left and right between images in beta.
vs
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. Make sure new task captures discussion points in this task.