Steps to reproduce:
- Go to https://commons.m.wikimedia.org/wiki/Special:MediaSearch?type=image
- Search for anything, e.g. "cat"
- Click on any result to bring up quick view
- Find the "More details" link and notice that its URL goes to the desktop site
The link should correspond to the site the user's on (i.e. desktop -> desktop, mobile -> mobile).