Extension:Wiklets

This extension is not complete and not currently under development.

Usage (in progress)
The simplest case is to use just one parameter which is the content of the new wiklet as follows:

But a number of other parameters can be supplied to adjust the behaviour of the wiklet, the following example includes all the possible parameters:

Usage (current)
Currently the extenions uses iFrames rather than div's which are not yet developed. The disadvantage of this is that inline content (that supplied directly in the parser-function) is not displayed. It can only work from the src parameter which is an article title to be loaded by the browser as a separate request after page-load. Here's an example of current usage:

Javascript
Copy the wiklets source code from OrganicDesign:Extension:Wiklets.php and copy into a file called Wiklets.php your extensions directory (or into a Wiklets subdirectory of extensions if you prefer). The include from your LocalSettings.php file as is usual with MediaWiki extensions.

The Wiklets extension uses the draggable iFrame library from Mat Kruse's JavascriptToolbox to implement the popup-window functionality. Download the dragiframe.js source and save in your extensions directory. The $wgWikletsLoadJS global configuration variable must then be set to the relative URL of the location you saved the Javascript. Your Wiklets inclusion code in your LocalSettings.php file should then look something like the following example,
 * You may need to change the filepaths to suit your own set up
 * Don't forget to ensure that the Javascript file is readable by the webserver using the URL you've specified
 * You may prefer to use Extension:Javascript which adds all the scripts links checking for duplicates