Wiki-Up that Drupal site

04 Jul 2008

Posted by CrashTest_

This morning, before our morning walk, and other family affairs, I poked around making Drupal my personal wiki. Why, that's probably what your asking? Drupal is a CMS, or CMS framework, and there are alternatives to Drupal for sure when it comes to wikis. PHPWiki, DokuWiki, MediaWiki, even the hosted PBWiki all come to mind.

The answer is a little complicated. I was using Zim (desktop wiki for KDE) to basically do a brain dump and to plan out some things, and discovered that I really wanted to use that data on my other machine. Hmm, well, this is a wiki, says I to me, so I should just be able to find some other wiki software and drop it on my local PHP server and pop this stuff into it.

Nope, it's not that easy. What I ran into was that I had, at best, only a couple of the things that I wanted from a wiki in any given package. I guess those things were:

  • CamelCased markup ability to easilly create new pages and easy linking.
  • Easy Privacy. This wiki isn't for the world, it is for my brain-dumps and planning.
  • Hierarchy so that I could organize my content, split it between work and personal, and SEE that organization.
  • Ability to easilly change the appearance (or to just look good off the bat).
  • Ability to be used from any machine I was on (the only drawback to Zim).
  • Familiarity. I wanted something that didn't seem terribly foreign to me, so I wouldn't struggle using it.

Ok, so that's quite a few things. Maybe there are wikis that do all of these, and do them with ease, however the top picks on my Google searches didn't show me any that fit the bill. PBWiki doesn't do CamelCase, or if it does, I couldn't find it, and that's a show stopper for me. DokuWiki was supposed to be easy to setup, document based, no db, but the security page you are supposed to follow was horrid, and changing the look of the thing was impossible to figure out quickly. PHPWiki, I didn't even try after reading comments about it being a bear to install.

In the end, I decided to build it on my current Drupal 6 installation. I did a search on Google about drupal wiki, and though there were many resources, CWGordon's blog was the most helpful. It took me about an hour and a half, but in the end, I have what I expected, and I have it in a design I like :) Plus, I got to learn what it takes to create a Drupal wiki. It wasn't too hard, I used the following modules:

  • pathauto (so that I can have nice URLs :)
  • flexifilter (allows you to set a filter that is wiki style without coding it)
  • recent_changes
  • freelinking (this lets me do CamelCase links which searches first then creates if it doesn't exist, NICE)
  • tableofcontents (not really using this yet, because I am using Book Navigation in the sidebar)
  • token (dev to fix the [book-raw] and [bookpath-raw] issues I was having)
  • node_privacy_byrole (here is how I make the wiki private)
  • wikitools (for... well, guess)

You put it all together, enable permissions to use it all, always a gotcha, then tweak your settings (like your pathauto and enabling freelinking and flexifilter) then securing it if you want it private, or enabling write access for everyone if you want it public, and viola, a new wiki is born.

Sitewide Terms: 

Comments

install views and search and you get a backlinks tab on each node.


I was wondering how I was going to manage backlinks. I was liking using ":TODO" in Zim. Thanks Moshe!


Thanks for this guide. I am in the midst of adding more "wiki" like features to my site, thank you!


Now that Features and Context are out in the wild, I suspect we will see some people putting together a Feature "module" that is wiki style...

This is a great recipe, and I appreciate the effort!

regards,
Ron Northcutt
Custom Websites


I'd never though about using a CMS platform as a framework, it's a interesting one. If you end up sharing it with loads of people I see the plan failing


Very impressed. It's encouraged me to try to add a wiki to my site again, but I'm wondering about pearwiki. There's a big disclaimer at the top saying that site developers should consider using flexifilter instead and since its the same maintainer, I think pearwiki is history.
Credito


There is now a professional Wiki build on the base of Druapl 6.

Main parts which differ to the Wiki-Solutoin you discussed here is the integration.

You have a lot of features integrated, which yet totaly are missing.
- "Link and Create Document by single Click"
- Trash bin
- Link by Search, fully integrated in TinyMCE
- Much more simplified editing-area
- Integrated subscription management
- complete TinyMCE Intergration into the whole process
- Advanced right-management to fit into enterprise-enviroments

Most of those features are enabled by completely new plugins which are not release yet. For a full list of features just take a look at:

http://wiki.impressive-media.de/doc/drupaliki-produktbeschreibung


hi. this is an Awesome article! I was trying to figure out how i could manage backlinks. you just saved me a bunch of time, energy and effort!

(edited by admin to remove a bunch of weight loss spam)

thanks again for this article. this will help me a Ton!!!

Julie


Thanks for the wiki info and advise. It's much appreciated!