Wikipedia

approved

by Jonathan Miller

Get the first section of Wikipedia for a note title or search term.

124 stars27,074 downloadsUpdated 4y agoMIT
View on GitHub

Obsidian Wikipedia

This is a plugin for Obsidian (https://obsidian.md).

This plugin gets the first section of Wikipedia and pastes it into your active note.

Usage

This plugin has two commands:

  • Get Wikipedia for Active Note, which gets the first section of Wikipedia using the active note's title as search term.
  • Get Wikipedia for Search Term, which gets the first section of Wikipedia for a search term.

Settings

Settings for this plugin include:

  • Language Prefix: The prefix before wikipedia.org used to access the language of Wikipedia you want. (Default: 'en')
  • Extract Template: The template to use to paste your extract. Available variables are {{text}}, {{searchTerm}}, and {{url}}
  • Bold Search Term?: If set to True, bolds the first instance of the search term in the extract
  • Use Paragraph Template?: If set to true, the paragraph template will be inserted for each paragraph of text for {{text}} in main template.
  • Paragraph Template: If Use Paragraph Template is set to true, this template will be inserted for each paragraph in the text extract. Available variable: {{paragraphText}}.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.