Page MenuHomePhabricator

Clicking on an image "details" button in MediaViewer should take the user to the mobile version of Commons
Closed, DuplicatePublic

Event Timeline

Jdlrobson added a subscriber: Jdlrobson.

We don't have a way in JS to transform URLS from mobile to desktop.
Usually, we just rely on the redirect.

We currently just do the dumb thing and render the API result of descriptionurl. I wonder if there is a generic way we could hook into the API to localise this for mobile.

We currently just do the dumb thing and render the API result of descriptionurl. I wonder if there is a generic way we could hook into the API to localise this for mobile.

Same answer as in T67047.