Anki 2.1 addon to display Wikipedia page previews inside of Anki.
Shows a popup of the Mobile Wikipedia page / Extract for the selected text. In order to avoid conflicts with the Popup-Dictionary addon, this addon only supports keyboard shortcuts (Control-Shift-W) for now.
Mobile (default) | Extract (shorter, faster to load) |
---|---|
- Popup of either full mobile pages, or shorter extracts
- page caching to speed up repeated searches
- Multilanguage support - change the language in
config.json
with the language as per list here.
This addon currently in beta stage - things will almost certainly break! Please submit a bug report if it does.
The easiest way to install Pop-up Dictionary is through AnkiWeb.
- Make sure you have the latest version of Anki 2.1 installed. Earlier releases (e.g. found in various Linux distros) do not support
.ankiaddon
packages. - Download the latest
.ankiaddon
package from the releases tab (you might need to click on Assets below the description to reveal the download links) - From Anki's main window, head to Tools → Add-ons
- Drag-and-drop the
.ankiaddon
package onto the add-ons list - Restart Anki
Significant portions of the code (as marked in the source files) were based on the Anki add-on Pop-up Dictionary by Glutanimate. Click here to support Glutanimate's work.
I would also like to thank the team at AMBOSS for their encouragment and insipration for this work. Some css and js code was taken from their extremely good Anki Addon.
Ships with the following javascript libraries:
- jQuery (v1.12.4), (c) jQuery Foundation, licensed under the MIT license
- qTip2 (v3.0.3), (c) 2011-2018 Craig Michael Thompson, licensed under the MIT license
- imagesLoaded (v4.1.4) (c) David DeSandro, licensed under the MIT license
PopupWikipedia is free and open-source software. The add-on code that runs within Anki is released under the GNU AGPLv3 license. For more information please see the LICENSE file that accompanied this program.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY.
- Clicking on links inside the popup opens the browser, but with the wrong URL
- Disambiguation pages are not handled well
- Does not work with NightMode due to the way Night-Mode monkeypatches Reviewer.revHtml, see this github issue here
- Currently does not play nicely with Popup Dictionary. Currently trying to figure this out!