Skip to content

Anki 2.1 addon to display Wikipedia page previews inside of Anki

License

AGPL-3.0, Unknown licenses found

Licenses found

AGPL-3.0
LICENSE
Unknown
LICENSE-THIRD-PARTY.md
Notifications You must be signed in to change notification settings

cfculhane/AnkiPopupWikipedia

Repository files navigation

AnkiWikiPopup

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.

Mode:

Mobile (default) Extract (shorter, faster to load)
docs/content_extract.png docs/content_extract.png

Features

  • 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.

Installation

AnkiWeb

The easiest way to install Pop-up Dictionary is through AnkiWeb.

Manual installation

  1. 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.
  2. Download the latest .ankiaddon package from the releases tab (you might need to click on Assets below the description to reveal the download links)
  3. From Anki's main window, head to ToolsAdd-ons
  4. Drag-and-drop the .ankiaddon package onto the add-ons list
  5. Restart Anki

License and Credits

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.

Known issues

  • 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!

About

Anki 2.1 addon to display Wikipedia page previews inside of Anki

Resources

License

AGPL-3.0, Unknown licenses found

Licenses found

AGPL-3.0
LICENSE
Unknown
LICENSE-THIRD-PARTY.md

Stars

Watchers

Forks

Packages

No packages published