I need some info about how to install DokuWiki syntax. I copied files found in http://download.pear.php.net/package/Text_Wiki_Doku-0.0.1.tgz into the folder [my-drupal-root]/modules/pearwiki_filter/Text but it seems that a file is missing (maybe something like Dokuwiki.php in Text/ folder). Without that file it doesn't appear in the options available in the configuration panel of the pearwiki filter module.

I tried both with the stable release and with the new RC2.

Comments

matt_paz’s picture

I'm not seeing DokuWiki as an option either?

matt_paz’s picture

Looks like you have to move doku.php up to be same level as mediawiki.php?

matt_paz’s picture

Oops moving doku.php up to the same location as mediawiki.php didn't work either ... it showed up in the options then, but after than I received the following error

Fatal error: Class 'PEAR' not found in Wiki.php on line 1422

cino’s picture

Yes, mediawiki.php seems an index of the available functions. The module, instead, seems to take any file in that directory, even a non-php file and list in the configure page as an option...

It seems such a file is missing...

Any idea?

Haqqax’s picture

Do:

cvs -d :pserver:cvsread@cvs.php.net:/repository checkout -d Text pear/Text_Wiki/Text

... and you will get the file that is missing in the distribution from CVS. Copy it to its place, define the input format and enjoy :-)

reneb’s picture

this is the part i disliked most about the pearwiki install - copy-pasting this syntax into the mac os x commandline didn't give me the expected results.
in the end, i ended up going through several hoops to get to the files - which is a bit silly.
why aren't those files simply packed with the rest of PEARwiki????
would it please be possible to do this?