War of the Wikis

Interested in finding the wiki that’s right for you?

Yes, so are we. 🙂

In the open source wiki marketplace, there are several options, including MediaWiki, DokuWiki, TWiki, Tiki Wiki and TiddlyWiki, as well as smaller players such as MoinMoin, PmWiki, PhpWiki and WikkaWiki.

To see what’s happening in this market, let’s take a brief look at this Google Trends graph of interest in the top five packages over the past year (click to see the image larger):

Google Trends

Seems clear that MediaWiki and DokuWiki are the top contenders. MediaWiki is more well-known, but DokuWiki is trying to close the gap. The Internet Techies site indeed lists it as number 2 and many people feel it’s easier to use and more effective for many sites. But to really decide, we need more details about DokuWiki vs DokuWiki. What’s the difference?

Today we’re going to talk about exactly what differences do and don’t exist. Yes, we are entering now the War of the Wikis! 🙂

We will examine two areas:

  1. History and License – when and how did these two projects get started and what license each has
  2. Product – what differences exist in the actual product

A Brief History and License

MediaWiki was originally written for Wikipedia, and Wikipedia itself was launched in January 2001. The name “MediaWiki” came about in July 2003, the same year that Jimmy Wales created the Wikimedia Foundation. The software was designed to run Wikipedia, meaning they built it “to scratch their own itch.” You can read more about the history on their MediaWiki history page or the MediaWiki page on WikiPedia.

MediaWiki has a “major release” every six months and a “long term support release (LTS)” every two years. It is licensed under version 2 of the GNU General Public License.

DokuWiki was written from scratch by Andreas Gohr in June 2004. One month later the first official release was published. In 2005, a major development was the re-design of a large section of the internals. You can read more about the history on their History of DokuWiki page, or on the DokuWiki page on WikiPedia.

New releases come out about twice a year, but there is no official schedule. The software license is GNU General Public License.

The Product

We will examine the below sections, one by one.

  1. Overview
  2. Screenshots
  3. Technology
  4. Security
  5. Features
  6. Community and Support

Let’s start with Screenshots:

Overview

The basic difference between these tools is their goal. MediaWiki is meant for large and complicated wikis and DokuWiki is meant for smaller, simpler wikis. Of course, you can use MediaWiki for a small wiki and people have used DokuWiki for larger installs also. There are reports on the Scability page of installs of up to 300,000+ pages and on this forum post in German, a report of an install with close to 2 million pages.

But the fact remains that MediaWiki is more powerful, more scalable and more flexible. With that, however, comes far more complexity as well. It’s not easy for a layman to install and configure MediaWiki, in particular any of the advanced features like extension installation.

DokuWiki, however, is very simple to install, and installing plugins and templates is a breeze.

Screenshots

MediaWiki

To see a step by step explanation with screenshots of the install procedure for MediaWiki, see our blog post How to Install MediaWiki.

Here are screenshots about how to use MediaWiki:

Here the home page of a fresh, empty MediaWiki install:

MediaWiki Install 8

Login:

MediaWiki Screenshot 1

Once you’re in, there is an Edit link just above the text, right in the middle of the top section of the page:

MediaWiki Screenshot 2

If I click on that, then there is a box whereby I can edit my text. This is the default, text-based editor:

MediaWiki Screenshot 3

And if I save my changes, here is my new home page:

MediaWiki Screenshot 4

If I have the VisualEditor extension installed, then I see a “rich tex editor” like this:

MediaWiki Screenshot 5
DokuWiki

To see a step by step explanation with screenshots of the install procedure for DokuWiki, see our blog post How to Install DokuWiki.

Login:

DokuWiki Install 6

Home page:

DokuWiki Install 7

If you put your mouse on the pencil icon on the right side of the page, you will see that a menu pops up and the first item is “Edit this page”:

DokuWiki Screenshot 1

Click on that and you get the edit page. This is the default, text-based editor:

DokuWiki Screenshot 2

And if I save my changes, here is my new home page:

DokuWiki Screenshot 3

Now if I install the CKGEdit Plugin (which is just a matter of a few clicks on the admin screens of my wiki), then I when I edit, I see a “rich tex editor” like this:

DokuWiki Screenshot 4

Technology

Both use PHP. MediaWiki requires a database of some sort (see below for options) but DokuWiki does not — it stores all data in files and requires almost no setup.

Security

DokuWiki has a Security page where they claim:

DokuWiki is developed with security in mind. We try to find a balance between user-friendliness and security but favor security when no satisfying compromise can be found.

and there are links there to their bug reporting protocol and their bug tracking system.

MediaWiki also has a Security page meant for end users, and then a Security Guide page for developers with links to other resources like their Security page meant for developers.

A Google search for “DokuWiki security vulnerabilities” brings up around 95 results and a search for “MediaWiki security vulnerabilities” brings up around 90 results, which indicates that neither one have had a history of any serious security flaws.

Features

Feature MediaWiki DokuWiki
WYWISYG Yes, via an extension, but it requires a “node.js” server which is not available on normal shared hosting Yes
Database MySQL, PostgreSQL, Oracle and SQLite File Storage
Page-level Permissions Yes Yes
ACL Availablevia various extensions, several of which are listed here Built in
Page Preview Yes Yes
Minor Changes Yes Yes
Changes Summary Yes Yes
Page History Yes Yes
Page Revisions Yes Yes
Revision Diffs View Yes Yes
Pages Index Yes Yes
Plugin System Yes Yes
Template System Yes Yes
Caching Yes Yes
Full text search Yes Yes
API YesSee the API:Main Page for details YesSee the Remote API for details

More to come….

Community and Support

DokuWiki features the active DokuWiki User Forum, powered by the Unclassified NewsBoard forum package.

MediaWiki features the Support desk forum, powered by MediaWiki itself, plus a Meta-Wiki area with more options for support such as Mailing lists and IRC. There are then tags on StackExchange’s Web Applications section as well as their ProWebmasters area.

Conclusion

MediaWiki is larger and more powerful, yet more complicated to setup and manage. DokuWiki is easier to use. Both have their place.

Post Conclusion

If you’re looking for hosting for MediaWiki or for DokuWiki, whether in the USA or Europe, we recommend CiviHosting. Let us install and secure your wiki for you:

About the Author
David Feldman is a Senior Technical Advisor for CiviHosting, You can contact him via our Contact Us page.

Leave a Reply

Your email address will not be published. Required fields are marked *