It's always tedious to open a new tab or take up your dictionary to look for words' meanings or explanations while reading your favorite article, books, PDFs or when browsing and coming across a word you want to know about. Wikidata OCI(One-Click-Info) Extension is here to help, WOCI is a multilingual extension that enables you to search for any item or word that you come across while reading or browsing online. This extension improves the accessibility and searchability of Wikidata's data. The languages implemented are from wikidata, the user gets the data in the language selected from the structured data language available.
Wikidata OCI Extension is an extension built with Wikidata API, when activated, will allow the user to select a word and click the extension to get a quick summary of the wikidata item or label selected or highlighted.
This extension operates with the action API and Wikidata's sitelinks. This article is a good resource for learning more about the extension.
https://github.com/user-attachments/assets/9a5a0316-ab46-48b4-b444-42af4e4928b3
Select Text : Highlight any word you want to know or learn more about. Click Extension Icon: Click the Wikidata OCI Extension icon in your browser’s toolbar. View Summary : A pop-up will appear, displaying a short description of the selected word from Wikidata. Read more about a particular item: Click on any item that you want to know more about.
The extension utilizes the Wikidata API to retrieve concise summaries of the selected text and the Wikipedia endpoint for the sitelinks URLS
The user highlights a word on a webpage. The extension sends a request to the Wikidata API to find the matching entity. If an entity is found, the extension retrieves and displays the summary in a pop-up with their corresponding sitelinks. An Internet connection is needed for fetching data from Wikidata.
The seamless data in Wikidata OCI is possible, Thanks to the wonderful Wikidata Action API
We welcome contributions! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the BSD 3-Clause License . See the LICENSE file for details.