WP-Dokuwiki


The information on this page might be slightly outdated. For the latest version of the plugin, please check the [[http://wordpress.org/extend/plugins/wp-dokuwiki/|WP-Dokuwiki]] page on the [[http://wordpress.org/extend/plugins|Wordpress plugin directory]].

=== Introduction ===

WP-Dokuwiki is yet another markup plugin for WordPress — like [[http://www.huddledmasses.org/2004/04/19/wordpress-plugin-textile-20/|Wordpress Textile]]. It lets you use [[http://wiki.splitbrain.org/wiki:dokuwiki|Dokuwiki]] [[http://wiki.splitbrain.org/wiki:syntax|syntax]] in your markup. It currently works for both pages and posts. I will soon add support for comments as well.

=== Download ===
The current version is 0.5. The plugin is hosted at the [[http://dev.wp-plugins.org/ | WordPress plugin repository]]. You can browse the source code at [[http://dev.wp-plugins.org/browser/wp-dokuwiki]]. Please use the bug tracker over there to file bug reports.


All releases henceforth will be tar bzipped. So please ensure you are using the correct programs to extract the files. On Unix like systems, ”tar -jcvf filename” should do the trick.

==== Older versions ====
* [[http://floatingsun.net/data/code/wp-dokuwiki-0.3.tar.bz2|Version 0.3]]
* [[http://floatingsun.net/data/code/wp-dokuwiki-0.2.tar.bz2|Version 0.2]]
* [[http://floatingsun.net/data/code/wp-dokuwiki-0.1.tar.gz|Version 0.1]]

=== Installation and Usage ===
Download the plugin below and extract it in your ”wp-content/plugins” directory. Then go to your administration panel and activate the plugin. Thats it!

To use the plugin in your post, simply enclose the Dokuwiki markup in ”wiki” opening and closing tags, as such:


[wiki]
This is //some// **sample** [[http://wiki.splitbrain.org|Dokuwiki]] code.
[/wiki]

PS: You should use angle brackets, instead of square brackets!!

If you are having problems with the generated code, try disabling the default WordPress formatting (”wpautop” and ”wptexturize”).

=== Features ===
* Supports the complete Dokuwiki syntax.
* Automatic addition of the appropriate CSS rules.
* Generates table of contents.
* Support for the following plugins: [[http://wiki.splitbrain.org/plugin:google_maps|Google Maps]], [[http://wiki.splitbrain.org/plugin:boxes|Boxes]].
* Supports multiple wiki tags — so you can mix Wiki text with non-wiki text.

=== TODO ===
* The plugins is rather big right now. There are still several files that are never used in the execution of the plugin, but are still there since I just copied over some directories. I will gradually start trimming down the files to the bare minimum requirements, but don’t expect the plugin to ever be as lean and mean as say Textile or Markdown.

=== ChangeLog ===
* 2006-03-25 version 0.3 **Major Changes**
* Upgraded to [[http://wiki.splitbrain.org/wiki%3Achanges|Dokuwiki 2006-03-09]]
* Added support for [[http://wiki.splitbrain.org/plugin:google_maps|Google Maps plugin]]
* Better support for plugin specific CSS and Javascript
* 2006-03-01 version 0.2
* support for multiple wiki tags
* some new acronyms and interwiki links
* Javascript based toggle of ToC
* significant reduction in size (got rid of tpl directory)
* 2006-02-04 version 0.1
* Initial release

Posted in

43 comments

  1. Pingback: Floating Sun » WP-Dokuwiki
  2. Pingback: Blogging Pro China » Blog Archive » WordPress Plugin: WP-Dokuwiki
  3. mandor

    Hi
    i published this:

    Illusionen gehören zu den spezifisch menschlichen Fähigkeiten,

    Wichtig Note

    Sprachlich entstammt der Begriff dem lateinischen Substantiv illusio,

    Wichtig Note

    It is impossible to use the wiki tags two times ?
    In this case wp used the first und the last

    mandor

  4. Pingback: Floating Sun » WP-Dokuwiki 0.2
  5. diwaker

    *@mandor*: thanks for motivating me to get off my butt! Yes, this used to be a limitation. But I’ve fixed this in the latest release, so go ahead and check it out!

  6. diwaker

    *@sam*: I’m running WordPress 2.0.1 on this site without any problems. Did you mean WordPress 2.0.2? It will help if you can provide a little more detail.

  7. Osmond

    what did I do wrong? — [[http://osmond.cn/wp/?page_id=41]] , not seem as [[http://osmond.cn/wiki/doku.php?id=obp:wp:allinone]] in my dokuwiki site?

    == Sugestion plugin to realize ==
    * [[http://wiki.splitbrain.org/plugin:code|Code Replacement Plugin]]
    * [[http://wiki.splitbrain.org/plugin:definitions|Definition list plugin]]
    * [[http://wiki.splitbrain.org/plugin:folded|Folded Plugin]]
    * [[http://wiki.foosel.net/snippets/dokuwiki/keyboard|Keyboard Plugin]]

  8. diwaker

    *@osmond*: sorry, I guess we’ve hit the language barrier. Your question is not clear to me, and I can’t make anything out from the two URLs you’ve posted. Thanks for the suggestions for plugins to incorporate — I’ll see what I can do.

  9. Osmond

    Sorry, I didn’t considered the language barrier.

    I copyed directly from [[http://osmond.cn/wiki/doku.php?id=playground:wp_dokuwiki_test&do=edit&rev=]] to wordpress edit window. but it not work. (list, inline path, and linebreaks)

    please recheck [[http://osmond.cn/wp/?page_id=42]] and [[http://osmond.cn/wiki/doku.php?id=playground:wp_dokuwiki_test]].

    BTW: I don’t suggest to incorporate note plugin and boxes plugin , because I think they are not same from semantic. but, I suggest to add , Now I use Folded Plugin to realize references semantic. If you realize it, I think I can give up Folded Plugin.

    Excuse me, my English is very poor. thank you.

  10. Osmond

    BTW: I don’t suggest to incorporate note plugin and boxes plugin , because I think note semantic and boxes semantic not same. but, I suggest to add [box references], I use Folded Plugin to realize references semantic now. If you realize it, I think I can give up Folded Plugin.

  11. Masato

    I wrote a post with wp-dokuwiki style, and sent a trackback to another
    post.
    I expected the excerpt is created automatically from the content, but
    it was empty.

  12. diwaker

    *@masato*: I don’t think the excerpt generation for trackbacks has anything to do with the wp-dokuwiki plugin specifically. Do things work if you disable the plugin? It works for me without problems, as you can see in comment #4 above.

  13. Masato

    I inspected with plain WordPress 2.0.2. Plugin was only wp-dokuwiki 0.3.

    Your filter dg_parse_entry($content) is output by using echo. The return value is null. It was not possible to generate the excerpt.
    I stopped using echo, and put all the conversion results in the return value. I think it goes well with this.

  14. Gardening Tip

    My name is Ruby i am working on a big project at high school about blogs. I hope you don’t mind me mailing a few words on this text as my tutor needs to see it. Your blog is really good by the way.

  15. MartinG

    Thank you for this great WP plugin!
    A couple of issues:

    * Above I guess you mean “tar -jxvf filename”

    * I have problems with lists with this plugin. If I write:

    * item1
    * item2

    It will not be converted to a list.

    * Icons to the left of links are not shown. I guess this has to do with what theme/layout I use for my WordPress, and where the default path for the css is. Hints on how to debug this is appreciated.

    Thanks.

  16. Aaron Baugher

    Something about the CSS code is throwing off my WP template. Is there any way I can get the dokuwiki syntax formatting ([[links]], //italics//, and so on), but turn off page formatting features like CSS?

  17. Trackback: 110673
  18. Pingback: 不確定な Android Blog - Blogセットアップやらなにやら
  19. Pingback: Integrare della sintassi dokuwiki su Wordpress « willygroup's blog

Leave a Reply