Hi,

I'm trying to emulate some kind of Wiki functionality in Drupal by combining the Freelinking Module with the PEAR WIki filter which I can't get to work properly. The filters have the wights 8 (PEAR Wiki filter) and 10 (Freelinking); access permissions are set properly.

When I create a [[Link]], it is being hypertextified; it shows up in /freelinking, where I can click on "create this content"; then the node is being created. However, if I simply click on a (non existing) Freelinking node, just an empty page with a "2" in it is shown (the page contains the Druapl header and footer, but no menus).

Secondly, a link like [[PEAR Wiki filter]] is expanded to the freelinking node "PEAR".

I tried to rearrange the order of the filters (freelinking filter with weight of 8, PEAR Wiki Filter with weight of 10) which results in non-hypertextified links (e.g. [[PEAR WIki filter]] is expanded to <a href="/drupal/freelinking/PEAR%2520Wiki%2520filter">PEAR Wiki filter</a>.

Since I don't have experience with the Freelinking module I'm not sure what the module is supposed to really do; possibly it conflicts with the PEAR Wiki filter which also implements partial MediaWiki-style syntax. Maybe both modules simply are incompatible with each other?

Any ideas or suggestions?

Thanks a lot, -asb

Comments

eafarris’s picture

Freelinking seems to be working fine in my testing. Perhaps it is a conflict with the Pear Wiki module. I am not familiar with that module, but I would think that you'd only need one or the other, not both. Maybe someone who's more familiar with Pear Wiki can shed some light?

asbdpl’s picture

> Freelinking seems to be working fine in my testing. Perhaps it is a conflict with the Pear Wiki module.
> I am not familiar with that module, but I would think that you'd only need one or the other, not both.

The documentation of PEAR Wiki filter says at http://drupal.org/project/pearwiki_filter :

>> The developement version can link by node title and path for all Syntax types. If you have freelinking enabled,
>> the module can redirect wiki links to freelinking and use it's facilities to create new nodes based on wikilinks.

However, most probably there are some incompatibilities, so I deinstalled the freelinking module and lost the [theoretical] ability to use MediaWiki syntax _and_ create new nodes by clicking on a non-existing [[node]] link. In fact, I don't understand how the software even possibly could handle a markup like [[node]] if two modules try to interpret it differently.

As far as I understand what the PEAR Wiki filter does, it just mimics the formatting style of other software like Mediawiki, TikiWiki, DokuWiki, Creole, or BBCode; as the readme notes: "This module does not implement a Wiki. Wikilinks work only for Mediawiki syntax at the moment and can only point to existing nodes. It is not possible to create a wikilink to a non-existing page and then click on the link to create this page!" -- that's the main difference between PEAR Wiki filter and the Freelinking module.

Too bad that Drupal has no Wiki module ;)

Greetings, -asb

rötzi’s picture

You can use the pear wiki filter together with the freelinking module.
You need the 'dev' version of pear wiki filter. Then create an input format using the pear wiki filter but don't activate the freelinking filter in that input format (the module has to be enabled). Then go to configure of the input format and click 'use freelinking' in the pear wiki configuration.

See this how-to on setting up a wiki with drupal 5: http://drupal.tschannen.net/wiki/how_to_set_up_a_wiki_with_drupal_5

rötzi’s picture

Status: Active » Closed (fixed)

looks like this issue can be closed