Plugin Directory


GetWIKI Plugin

by Sajin

GetWIKI plugin lets you embed a Wikipedia article anywhere in your blog. Installation is the simple drop-in-your-plugins-directory method that most WP plugins follow. Once installed, you can embed a WIKI article in your post with ease. The plugin currently looks for redirects, but does not handle other HTTP responses.



Usage: ~GetWIKI(Wiki_Article_Slug)~

For example, ~GetWIKI(Bekal_Fort)~ will bring embed the Wikipedia article on Bekal Fort in your blog.


The plugin has been modified to add these:

  • use the simple-cache plugin by Jeff (originally used in GetWeather).
  • add css for wiki articles
  • make 'edit' and 'retrieved from' links optional


The default cache duration is 10080 minutes (1 week), which you can change in the plugin. Also, the cache feature can be enabled/disabled in the plugin.

$use_cache = true; //Use cache or not
$cache_life = 10080; //Cache life in minutes after which article is refreshed
$edit_link = false; //[edit] links in the article to be displayed or not
$retrieved_link = false; //’Retrieved from’ information to be displayed or not



  1. Download wiki-plugin.php
  2. Upload wiki-plugin.php to your wp-content/plugins/ folder.
  3. Activate the plugin in your admin interface.


  1. Download simple-cache.php
  2. Upload simple-cache.php to your wp-content/plugins/ folder.
  3. Create a folder called "simple-cache" in wp-content/
  4. CHMOD 666 the simple-cache folder.
  5. Activate the plugin in your admin interface.

The plugin defaults to refereshing stored content every 1 week (10080 minutes). This could be changed in the wiki-plugin, as explained in Configuration.

Last modified 12 years ago Last modified on 02/14/06 13:43:24