Dokuwiki

This is a documentation about all modifications I made in my wiki and plugins I worked on.

FreeMind plugins

I write a new version of Patrick Maué FreeMind plugins.
The old plugins didn't work on my wiki and the code didn't used the dokuwiki plugins framework.

Update

  • 20080823: initial release.
  • 20081227: there was a bug between the freemind plugins & flash 10. It's working now.

Download

You can download the plugins here freemind.tgz.

Howto

The syntax has change a bit. Now, It uses the same syntax as an image.

{{:wiki:freemindflashbrowser.mm?600x400|alt text}}

Mindmap: alt text
Flash plugin or Javascript are turned off. Activate both and reload to view the mindmap

And like an image, you can add a size (the pipe & alt text are also optional)

{{:wiki:freemindflashbrowser.mm?400x400|alt}}
{{:wiki:freemindflashbrowser.mm?400| a long alt}}
{{:wiki:freemindflashbrowser.mm?400x400}}
{{:wiki:freemindflashbrowser.mm?400}}

This version only works with the freemind flash plugins. (no java version)

If the client doesn't have javascript or flash. This message will be display:

Mindmap: alt text
Flash plugin or Javascript are turned off.
Activate both  and reload to view the mindmap

and if dokuwiki does not find your freemind file, you will see:

Error in {{:wiki:freemindlashbrowser.mm?400}}
data/media/wiki/freemindlashbrowser.mm not found
for a FreeMind Flash widget,
use the following syntax:
{{:namespace:filename.mm|alt}}

To enable dokuwiki to manage freemind files, don't forget to add

 mm   text/xml

in conf/mime.conf

This is my first dokuwiki plugins. If you find way to optimize this code, feel free to contact me.

Gallery

Original link plugin:gallery

the "only" option

Since December 2008, the “only” option is now integrated directly in gallery
look in http://www.dokuwiki.org/plugin:gallery#parameters

The only option is a suggestion of Andreas Trawoeger 2005-11-11 14:13

This will make a gallery only of images whose filenames contain 'searchstring'. The 'only' is a very simple method of telling the 'only' argument from the other ones.

This option has already been code by Anja Vag & Shiva Shankar . This version is a rewrite for the current version of gallery (2008-05-19).

This is how you use it:

{{gallery>namespace?onlysearchstring}}

Code

Here's the modified “syntax.php” file. syntax.php.20080519.txt
just rename it & put it in /lib/plugins/gallery/

Recaptcha & Discussion

I wrote 2 patches to enable reCaptcha in the discussion plugins.

I don't use them anymore but you can still find those 2 patches here

Comments

code/dokuwiki/start.txt · Last modified: 2009/04/28 21:22 by aurelien
Creative Commons License Driven by DokuWiki Recent changes RSS feed