Extension:SecureWidgets

Securely allows a wiki to have widgets.

Features

 * List of available widgets:
 * There is no need to copy code from other pages to get widgets. Widgets are readily available through a secure read only SVN repository (an internet site that maintains and distributes a collection of widgets).
 * New widgets can be created by editing pages in the Widget namespace.
 * User-Friendly:
 * Comprehensive error messages, with help page links and examples
 * Parameter type-checking

Usage

 * Default-value can be specified in widget templates
 * Widget code is cached (in the transcache database table)

Widget List
The list of available widgets is available as an RSS feed. The widget name is in the entry title; e.g.: Widget:Gliffy - version 1.0.0 So this widget's name is Gliffy and it is added by typing

Widget Namespace
One can use Extension:ManageNamespaces to add and manage the Widget namespace. This is entirely optional.

Widget Creation
The extension allows for user-generated widgets provided that one configures the Widget namespace.

Parameters
Parameters are provided through the escape sequence:
 * {@{parameter-name}@} when only a parameter can be specified
 * {@{parameter-name|type}@} when a parameter and its type are specified
 * {@{parameter-name|type|default-value}@} when a parameter, its type and a default-value are specified

Example Template
  gliffy_did = "{@{id|integer}@}"; embedGliffy;

Dependency

 * Extension:ExtensionManager of version >= 2.0.1
 * Automatically resolved if using PEAR