Lexeme Linker banner

Lexeme Linker

3 devlogs
2h 5m 45s

This extension automates the process of linking Wikidata Lexemes to Bangla Wiktionary entries by replacing manually added text with a template.
Video demo: https://drive.google.com/file/d/1bvoBo-m7aN9Jtl0lvrYe2La1nu651hrk/view?usp=sharing
You ma…

This extension automates the process of linking Wikidata Lexemes to Bangla Wiktionary entries by replacing manually added text with a template.
Video demo: https://drive.google.com/file/d/1bvoBo-m7aN9Jtl0lvrYe2La1nu651hrk/view?usp=sharing
You may go to https://www.wikidata.org/wiki/Lexeme:L2135 or https://www.wikidata.org/wiki/Lexeme:L321888 (which were unlinked as of March 8) or, if they have been linked already (which would be indicated by the absence of any floating card on the page), you can go to https://bn.wiktionary.org/wiki/Special:AllPages?from=lo&to=&namespace=0&uselang=en, choose an entry and find its corresponding lexeme by going to Wikidata and searching for it there (you have to select ‘Lexeme’ on the left of the search bar). There is documentation for how to use the extension in the README.
There is a ZIP in the release page beneath the CRX file if that’s helpful.
Please use this on Chrome as it may not work on browsers like Brave.

This project uses AI

Google Antigravity (Gemini Flash) was used to write the code initially, which was then edited by me to improve efficiency and use localized strings.

Demo Repository

Loading README...

radman.siddiki

Shipped this project!

Hours: 2.1
Cookies: 🍪 21
Multiplier: 10.16 cookies/hr

Well, I guess it’s done then! This has been a nice learning experience, frankly. I never knew two different browser scripts could exchange messages between each other. It was also easy enough, TBH because I had previously made a browser extension for Firefox that blocked accidental inputs of . on GitHub repository pages so GitHub Codespaces would not be opened accidentally. I think the hardest part was deciding how the extension would function to best help editors without harming readers (by overpowering editors).

radman.siddiki

Users now get to save their own customized edit summaries as the default. Also, entry links now open in a new tab or window (as configured by the user at the browser level).

Attachment
0
radman.siddiki

Arabic lemmas are now being normalized correctly! I have also made it so that editors can choose to read the full wikitext of the existing entry to make sure their edits do not leave readers with less information.

Attachment
1

Comments

bhelavevicky66
bhelavevicky66 3 days ago

nice

radman.siddiki

The extension is working! It even allows the user to choose which part of the existing Wiktionary entry they want to replace! I am working on adding support for normalizing lemmas in Arabic because, for example, سَمِير in a Wikidata lexeme and سمیر in a Wiktionary entry are talking about the same thing.

Attachment
Attachment
0