Get Wikipedia article summary for a keyword in any language, inline with your posts and pages, with a simple shortcode.

WP-WikiBox is a simple yet very useful plugin. It uses Wikipedia API to retrieve the beginning summary section of a Wikipedia article based on the keyword title provided. You can simply insert Wikipedia information inline with your posts or provide wiki explanation on your tags and boost your ranks with rich content.

Features

New from v0.1.2

  • Added file caching method as an option, as requested
  • Enabled cURL to retrieve data for better performance
  • Added option to strip links from content, as requested

and

  • Supports shortcodes anywhere in your posts, pages and sidebar
  • Template function to automate inserting articles
  • Long list of supported Wikipedia languages
  • Customizable cache control to reduce server load
  • Multilingual interface
  • Customizable features
  • Plugin uninstall support

Installation

Installation is the same routine as most WP plugins:

  1. Upload wp-wikibox folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Find the WP-WikiBox submenu under Options menu in your WordPress to change plugin settings.

Notice: Please enable gzip compression in plugin options page if you have the support on your server. Wikipedia servers have heavy bandwidth usage and they appreciate less packet data very much. This is during data request on your page from Wikipedia servers and has nothing to do with how you provide your page content to visitors.

Using WP-WikiBox

  • Place [wikibox lang="{Wiki Language}"]{Your Keyword}[/wikibox] in your posts, pages, and/or as text widget in your sidebar. The lang attribute is optional and if not set, the default language from plugin settings will be used.
    Example: [wikibox lang="en"]Pink Floyd[/wikibox]
  • You can add
    wikibox_summary( $keyword, $lang = 'en', $echo = true );
    

    inside your template to add article box anywhere. Optional arguments $lang and $echo can be provided for customization.
    Examples:

    <?php if ( function_exists( 'wikibox_summary' ) )  wikibox_summary( 'Pink Floyd' ); ?>
    
    <?php if ( function_exists( 'wikibox_summary' ) )  wikibox_summary( single_tag_title('', false) ); ?>
    
    <?php if ( function_exists( 'wikibox_summary' ) )  wikibox_summary( single_cat_title('', false) ); ?>
    

You can see a working version of the plugin on this website, just click on any tags or category links. Or here is what Wikipedia says about WordPress:

WordPress

Powered by BSurprised WP-WikiBox Creative Commons License From Wikipedia, the free encyclopedia [+] [edit]

WordPress is a free and open source blogging tool and content management system (CMS) powered by PHP and MySQL. It has many features including a plug-in architecture and a template system. WordPress is used by over 14.7% of Alexa Internet's "top 1 million" websites and as of August 2011 powers 22% of all new websites. WordPress is currently the most popular CMS in use on the Internet.

It was first released on May 27, 2003, by Matt Mullenweg as a fork of b2/cafelog. As of December 2011, version 3.0 had been downloaded over 65 million times. [...]

Requirements

  • PHP Version > 5.0 required
  • PHP cURL recommended
  • WordPress > 3.0 recommended
  • PHP zLib support recommended

WP-WikiBox Plugin @ WordPress Repository | Download (v0.1.3)

Come back here soon for updates, feature requests and information on future releases.