This might be interesting to @01101, @Radorion and anyone else who is following the topic Anki as a knowledge base (with a "massive cloze note").
New Feature: Wikipedia Tooltips
I want to inform you about a cool little script I added to the Tippy Tooltips Sample Template. It’s meant to be a showcase for the power of Tippy’s HTML tooltips. When you hover a link that leads to a Wiki page, a preview - quite similar to the ones on the real Wikipedia page - is fetched using the MediaWiki API and displayed as a clickable tooltip.
As a bonus, I added an iframe that opens the Wiki-links inside the card instead of an external browser. That way, you can go down Wikipedia rabbit holes from the comfort of your own reviewer.
Showcase
Step 1: Add Wikipedia content:
e
Step 2: Enjoy!
Important Note:
Template scripts like this one will always be the lowest priority in terms of support. That’s because I consider any type of template JS an advanced feature. If you like dynamic stuff like this, I highly recommend to start learning JavaScript if you aren’t already doing it.
Notes for the tech-savy
The necessary API calls are made only after the user has hovered a link - and only for that specific link. This should significantly reduce the amount of API calls per card, so you shouldn’t have to worry about temporarily getting blocked by Wikipedia for overusing their service.