Extension:AnyWikiDraw

What can this extension do?
The AnyWikiDraw extensions adds a  tag to the MediaWiki parser which allows to edit SVG, PNG and JPEG images directly in a page using a Java applet.

This extension is also available for PmWiki and PmWiki.

Usage
The tag has the following form:


 * The tag needs to be put into two curly braces.
 * The name of the tag is
 * The parameter  specifies the name of the image file. If you specify an image file that does not yet exist in your Wiki, the image is created the first time you save a drawing.
 * The image name may have one of the following extensions: svg, svgz, png, jpg.
 * The parameter  specifies the width of the image
 * The parameter  specifies the height of the image

The enable drawing for the image HappyWiki.svg, which has a width of 400 and a height of 300 pixels, insert the following tag into a page:

Installation

 * 1) Copy the AnyWikiDraw folder into the   folder of your MediaWiki installation.
 * 2) Change the LocalSettings.php file as described below.

Changes to LocalSettings.php
require_once("$IP/extensions/AnyWikiDraw/AnyWikiDraw.php");

To Do
This extension is in experimental state, because its functionality is incomplete, and because there are some known issues:

Missing functionality

 * Support for the ODG file format is missing. ODG is the Open Document Drawing format used by Open Office, Neo Office and other open source office programs.
 * Support for the TWikiDraw and PmWikiDraw file formats is missing.
 * SVG Color gradients are displayed but can not be edited.
 * SVG Markers are not yet supported.
 * The offline version of AnyWikiDraw is missing.

Known issues

 * Images are not refreshed when they are saved. We need either find a way to clear the image cache of the browser, or to deliver images without letting the browser cache them.
 * Pages which use the drawing tag are not listed as linking to the image file.
 * It is not clear, how we can add support for image formats like ODG, TWikiDraw, PmWikiDraw, for which MediaWiki can not render a PNG image on its own. The Applet is capable of rendering the PNG images, but there seems to be no way to 'convince' MediaWiki, that it has received a new rendered image.