Grab the Wikipedia summary for a term and display the result in a buffer. Inspired by WikiTerm.
Currently this exports two functions:
-
wiki-summary
which will interactively prompt you for the string of the page title and gives back the information in a buffer*wiki-summary*
-
wiki-summary-insert
which will interactively prompt you for the string of the page title and insert (or barf if read only) the summary into the current buffer at point.
You can specify a language encoding (as per the URL for that language) with M-x customize-variable
and wiki-summary-language-string
.