Wikipedia plugin

1 1 1 1 1
Rating 5.00 (1 Vote)

Compat icon 4 xCompat icon 5 0This plugin displays  info from a selected word in an articled either from a local dictionary or from Wikipedia.

 

Version 1.1.4 (Update : 10/07/2024)

  • ^ Wikipedia search done in JS
Version 1.1.3 (Update : 08/07/2024)
  • # AJAX : check session token
Version 1.1.2 (Update : 08/07/2024)
  • # Non AJAX : use local dictionary
Version 1.1.1 (Update : 08/07/2024)
  • # JS : fix popup position (check scroll before search)
  • # AJAX : don't load local dictionary
Version 1.1.0 (Update : 07/07/2024)
  • + Mode AJAX and CGWiki table
...
Version 1.0.0 : First version (2024 July)

Wikipedia Content Plugin
CG_DOWNLOAD_NOT_ALLOWED
(already downloaded 26 times) 

Wikipedia content plugin show a popup under any word/expression you want to select in articles.

Version 1.1.0 introduces dictionary from table #__cgwiki in the database, this table being loading from dico.txt file in tmp folder.

If the word/expression has been defined in plugin's dictionary, word's defintion is displayed. If an URL is defined for this word/expression, it become clickable. 

If the word/expression is not found, a Wikipedia search is done and the result is displayed with a link to associated page in Wikipedia.

For example, click on isotope, you'll see information from plugin's dictionary. If you click on Cassiopeia, you'll see its Wikipedia defintion.

Just a few parameters : colors and plugin's dictionary.

Note : Wikipedia content plugin uses your browser language to display Wikipedia result in your own language.

wiki couleurs

wiki dictionnaire

 

plg wikipedia dict ajax

Dictionary may be loaded from dico.txt file, in tmp folder.

This file must use UTF-8 no BOM encoding, like any other Joomla! file.

Each line has 4 fields, tab separated, like below : 

<text><tab><language><tab><definition><tab><url>

<language> field contains text language using Joomla! format, for example, fr-FR, en-GB or leave blank for all languages.

<url> field is optional.

Note : Wikipedia is a trademark of the Wikimedia Foundation. Wikipedia content plugin is in no way affiliated with Wikipedia or the Wikimedia Foundation.