Jk40git / Wikidata-OCI-Extension

Open source web browser extension using Wikidata API, if it is activated will allow the user to get a quick summary of the Wikidata item highlighted.
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Make use of sitelinks from Wikidata #5

Closed lydiapintscher closed 1 week ago

lydiapintscher commented 1 week ago

Right now there is one link to Wikipedia at the top of the extension. That goes to a generic page that matches the string searched for if I understand it correctly. It might be nicer to instead add one Wikipedia link to each result entry in the list that goes directly to the right article. You could use the sitelinks on the Item for this. Example: https://www.wikidata.org/wiki/Q64#sitelinks-wikipedia Here is a sketch of what this could look like: IMG20240918104854

Jk40git commented 1 week ago

Hi @lydiapintscher closing this issue now as it's been solved we put the sitelinks on each result as a clickable element to send the user to the corresponding pages. Thanks for the idea