Extension talk:AnyWikiDraw

I really like this very much and I would appreciate to use it. I know it is experimental, but please add a description, what still is to do until it is working.

Actually it would be nice to know about still missing functionality before installing, like the not working save-function of drawings: anything goes, but drawings are not saved and don't show up after finishing and they don't show up when trying to edit them again

Or I'm doing some mistakes? Perhaps a controlling function in the end may help, testing if saving is done properly?


 * Hi. I have added a "To Do" section to the page.
 * Apart from the known refresh problems, the save function is working. Did you enable uploading of image files to your wiki? If you are not able to upload a SVG, PNG or JPG file using the upload page of the wiki, then the drawing applet can't do it either.
 * There is a controlling function in the applet. But it might not be checking for all possible error cases. Can you please check, if PHP prints an error message on the error log of the web-server?
 * --Rawcoder 12:29, 3 August 2007 (UTC)

I get a Parse error: syntax error, unexpected T_OBJECT_OPERATOR in .../extensions/AnyWikiDraw/AnyWikiDraw.php on line 105 What version of PHP is required?


 * I have implemented this extension with PHP 5.0 in mind. I am using it currently with PHP 5.0.4.
 * --Rawcoder 13:08, 6 September 2007 (UTC)

AnyWikiDraw Can't Find Files
I've set up AnyWikiDraw 0.1 as an extension to MediaWiki 1.9.1. It works fine creating and in saving the file created. However, when trying to reedit an existing file, it gives this message:


 * Couldn't load the drawing: http://www.proper-wiki-name.org/wiki/index.php?title=Special:AnyWikiDraw?Image:Test02.svg.

When the images is actually found here:


 * http://www.proper-wiki-name.org/wiki/images/1/1f/Test02.svg

In other words, the extension seems to work fine to create and save (one time) a new drawing, but not to edit an existing drawing.

Any ideas on how to fix this?

--C4duser 15:36, 11 September 2007 (UTC)


 * Looks like AnyWikiDraw can't handle article paths in the style of {$wgScript}?title=$1.
 * With the current version of AnyWikiDraw, you need to run MediaWiki with article paths in the style of {$wgScript}/$1.
 * I am going to take a look at this problem for the next version of AnyWikiDraw. But I can't tell you right now, when the next version will be released.
 * --Rawcoder 06:08, 13 September 2007 (UTC)

I hacked away at the AnyWikiDraw code and got the code to generate a full URL for the image. Yet for some reason the JVM still fails. The URL now looks something like this: http://cicswiki.org/cicswiki1/index.php?title=Special:AnyWikiDraw?image=/cicswiki1/images/e/ea/Test.gif Is this supposed to work? In other words - if the image variable refers to a real file - is AnyWikiDraw supposed to be able to edit the file?
 * --cbooysen 208.62.154.74 19:47, 12 October 2007 (UTC)