WordPress plugin: Wikipedia extract tooltip v1.1

WordPress plugin: Wikipedia extract tooltip v1.1

I have recently attended the Firefox school of code versioning and have learned that it’s cool to release code with a shiny new version number as often as possible. As such, version 1.1 of the Wikipedia extract tooltip plugin has been born.

Changelog:

  • Added APCWikipedia: Alternative PHP Cache is a free, open source (PHP license) framework that optimizes PHP intermediate code and caches data and compiled code from the PHP bytecode compiler in shared memory. caching. This checks if apc_fetch() and apc_store() exist so it’ll work if you don’t have APC however you should have APC else things will load slowly.
  • Added  a len parameter to the shortcode to set how many characters of the wikipedia extract are displayed in the tooltip before being cut off by an authoritative looking …
  • Added a para_skip parameter to the shortcode to set how many paragraphs to skip to get to the right paragraph of the wiki page
  • Added a label parameter to the shortcode to allow an alternative label

Example:

[wiki label=APC para_skip=1 len=250]Alternative PHP Cache[/wiki]

 

You can download version 1.1 here.

Share on TwitterDigg ThisSave on DeliciousSubmit to StumbleUpon

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>