Skip to content

Conversation

Kota-Jagadeesh
Copy link
Collaborator

This pull request fixes issue #6307 by making "Usages on Other Wikis" items clickable in the media details screen, opening the correct pages in the browser.

Changes:

  • Updated FileUsagesUiModel.kt to generate correct URLs for other wikis (e.g., https://en.wikipedia.org/wiki/Changi_East_Depot), handling full domains like en.wikipedia.org.
  • Added clickable functionality to "Usages on Other Wikis" in MediaDetailFragment.kt, with blue underlined text matching Commons usages.
  • Tested with images like File:Changi_East_Depot_site_080525.jpg to ensure links work.

Closes #6307.

Copy link

✅ Generated APK variants!

@nicolas-raoul
Copy link
Member

Sorry my next 10 days are super busy, but we will come to this PR afterwards. Feel free to work on other bugs if you want. Thanks a lot for your patience! 🙂

@Kota-Jagadeesh
Copy link
Collaborator Author

Sorry my next 10 days are super busy, but we will come to this PR afterwards. Feel free to work on other bugs if you want. Thanks a lot for your patience! 🙂

Okay 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make items in "File usages" clickable, opening page where the image is used
2 participants