AnyWikiDraw for PmWiki
Usage
To include a drawing in a PmWiki page, write the following tag in the
page:
(:drawing drawing.svg|width|height:)
- The tag needs to be put into smileys.
- The name of the tag is
drawing
- The parameter
drawing.svg
specifies the name of the drawing file.
- The drawing file can have one of the following extensions
.draw
, .svg
, .svgz
, .png
,
.jpg
.
- If you specify a drawing file that does not yet exist in your Wiki,
the drawing is created the first time you save a drawing.
- The parameter width specifies the width of the drawing.
- The parameter height specifies the height of the drawing.
Installation instructions
- This is an experimental cookbook. Data loss may occur. Install
it only on a Wiki system that does not contain critical data.
- This extension adds inline drawing editing support to your PmWiki.
Make sure, that you have proper licenses for all drawings on your
PmWiki.
- Deinstall the PmWikiDraw cookbook. AnyWikiDraw includes the
PmWikiDraw cookbook. Having them installed both will result into
conflicts between the two cookbooks.
- Copy the folder
AnyWikiDraw
from anywikidraw/pmwiki/cookbook
into
the cookbook
folder of your PmWiki server.
- Add the
following line to the file
local/config.php
of your PmWiki server:
include_once("cookbook/AnyWikiDraw/AnyWikiDraw.php");
- Make sure that uploading is enabled in
local/config.php
.
$EnableUpload = 1;