In mobile media viewer, clicking on "Details" leads to the file page in desktop site.
Steps to Reproduce:
- Go to a page that has images, on a mobile site. (eg, https://commons.m.wikimedia.org/wiki/Category:Architecture )
- Click on a image thumbnail (eg, https://commons.m.wikimedia.org/wiki/Category:Architecture#/media/File%3A4G4A0810.jpg )
- Now click on "Details"
Actual Results
- The hyperlink appended on "Details" button leads to the file page in the same but desktop site
Expected Results
- The hyperlink appended on "Details" button leads to the file page in the same mobile site
Developers' notes
The hyperlink assigned to the primary, progressive button created using OO.ui.ButtonWidget, should point to the mobile site.