Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mooeypoo/wikilookup
A tool to display info from Wikipedia (or private wikis) on selected terms in a webpage.
https://github.com/mooeypoo/wikilookup
hacktoberfest jquery popup wikipedia wikis
Last synced: about 1 month ago
JSON representation
A tool to display info from Wikipedia (or private wikis) on selected terms in a webpage.
- Host: GitHub
- URL: https://github.com/mooeypoo/wikilookup
- Owner: mooeypoo
- License: gpl-3.0
- Created: 2019-07-05T09:02:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T17:21:38.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T00:15:30.224Z (7 months ago)
- Topics: hacktoberfest, jquery, popup, wikipedia, wikis
- Language: Less
- Homepage: https://mooeypoo.github.io/jquery.wikilookup
- Size: 951 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.com/mooeypoo/jquery.wikilookup.svg?branch=master)](https://travis-ci.com/mooeypoo/jquery.wikilookup)
# Wikilookup
Wikilookup is a JavaScript library that enables you to add quick information from Wikipedia and other wikis.**Are you looking for the Wordpress plugin? [It's here!](https://github.com/mooeypoo/wikilookup-wordpress)**
## Use the plugin
To use Wikilookup, include it in your page:
```
```
Call the plugin on the DOM element that holds your text.```$( '.content').wikilookup();```
By default, the plugin looks for elements tagged by `data-wikilookup` property.
You can change that property by providing an alternative selector:
```$( '.content').wikilookup( { selector: '.someClass' } );```
## Showing the data
Wikilookup manages the operation of fetching the data and creating a display, but it is agnostic as to where that display is placed. Deciding where the results appear is up to you.
The view for each lookup word is stored in the `data-wl-widget` data attribute of that node. The presentation jQuery object is stored in the `$element` property of that object. You can call for it and display it wherever you want.
See the demos for an example.
## Demo
For information about the configuration, [visit the demo page](https://mooeypoo.github.io/wikilookup/).## Contribute and help!
Wikilookup is an open source project. Please feel free to submit issues and/or pull requests.## Changelog
See [CHANGELOG](CHANGELOG.md)## Author
- Developed by Moriel Schottlender
- Design guidance by Nirzar Pangarkar