WYSIWYG, WikiTools, PearWiki Filter, and Markup

Events happening in the community are now at Drupal community events on www.drupal.org.
SamRose's picture

I've been using http://drupal.org/project/liquid thus far.

Following the recent developments, I am making the switch to http://drupal.org/project/wikitools

One question that I have is: how does PearWiki Filter deal with using wiki markup in WYSIWYG editors? What is the best WYSIWYG editor to use in conjunction with WikiTools module, adn PearWiki filter, to allow mixed use of both richtext and different wiki markup on the same page? This is a feature that is generally supported in wiki engines like MoinMoin, social text, OddMuse, and other common wiki engines (plus services like WikiSpaces). It seems that this could be possible in Drupal. Perhaps it will take a custom input filter. Your advice would be greatly appreciated here :)

Comments

I'm currently searching for

alex-and-r's picture

I'm currently searching for wysiwyg wiki editor too. And so far I couldn't find any. :(

So I'm trying to make needed module by myself but no luck so far cuz I'm not a php programmer at all. But I'll keep trying.

May be if you find such module you can point me so I can use it too?

Here is what i have found...

SamRose's picture

If you don't need fancy markup, in Drupal 5.7 Wikitools, Freelinking, and either FCK Editor, or Tiny MCE plus Diff, and Views are all that you need. Any content type can be a wikipage, and freelinking lets you link to other pages via "double brackets" or "CamelCase"

If you do need media wiki or other markup parsing, it could still be possible with WYSIWYG

Hope that helps

Sam Rose
Social Synergy
Blog

I've been working on

Gerard McGarry's picture

I've been working on something similar with TinyMCE as the WYSIWYG editor, however I've been questioning the wisdom or necessity for Mediawiki syntax support. Surely with a decent WYSIWYG editor, most of the Mediawiki markup is unnecessary anyway?

I think the only thing that would be useful is the content autocreation that seems to come with the freelinking module.

However, I'd love to see one module that could implement all the Wiki functionality a site needs - say Wikitools with Freelinking built in and maybe the mediawiki parser/PEAR tools.

wysiwyg wiki

dugh's picture

I use these modules for wysiwyg wiki features plus the ability to still do these style links or [w:interwiki] links:

fckeditor, imce, diff, views, pathauto wikitools, freelinking, talk, interwiki
There is a recent_changes module, too, but I just customized the built-in tracker view instead.

I also added a block that just shows up on the top of wiki pages for registered users, reminding them this is a wiki page and that they are encouraged to edit it (like with wiki pages at groups.drupal.org).
Related to that, I also used pathauto to put all wiki pages under a "wiki" url path namespace (probably groups.drupal.org should have done that).

See also these notes: I liked the one suggestion to make book pages be wiki pages, so you can have hierarchical wikis if you want:
http://stephenondrupal.blogspot.com/2007/10/set-up-wiki-with-drupal-5.html
http://cwgordon.com/how-to-create-a-wiki-with-drupal

... a long-standing problem

SamRose's picture

... a long-standing problem with freelinks, and links based on input filters is that there is no existing way to do something like http://drupal.org/project/backlinks

There was talk a while back on dev lists about exploring a way to do it, but it kind of ground to a halt. I am now researching some way to display "backlinks" when using freelinking...

Sam Rose
Social Synergy
Open Source Ecology
P2P Foundation

Solved in Views2 for D6

bonobo's picture

Hello, Sam,

If I understand correctly, and you are looking for ways of creating blocks showing content that links to and from specific nodes, this is solved in Views2 in D6 -- it ships with two default forward links and backlinks views -- they use the search index to create the links -- it's pretty sweet.

Cheers,

Bill


FunnyMonkey
Tools for Teachers

This need is solved by

moshe weitzman's picture

This need is solved by search.module in D6. If you install views2, you get a View of backlinks for any node.

Yes, the drupal 5 backlinks

mfb's picture

Yes, the drupal 5 backlinks module was merged into Views 2 for drupal 6.

So you got this working? On

ggrell's picture

So you got this working? On d6.4, I've got search, views2, freelinking enabled, yet the backlinks view gives no results on my wiki pages. I'm using own nodetype w/ title & body (vs using book). What's the trick to this?

Ah ha, thanks guys! This

SamRose's picture

Ah ha, thanks guys! This was the only piece I was missing from the basic "wiki" puzzle for Drupal.

Sam Rose
Social Synergy
Open Source Ecology
P2P Foundation

Wysiwyg wiki link function

milenpat's picture

Hi everyone.

New to wikitools and just after some advice.

Does anyone know of a way to configure the "link" button on a wysiwyg editor (I'm using TinyMce and ckEditor) to JUST create an internal wiki page link and not have all the options to link to external sites.

If at all possible is there a feature on a Wysiwyg editor that lets you create a wiki page with one click?

Thanks

Wiki

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: