Summary: Convert TikiWiki pages into PmWiki format
Version: 2007-03-30
Prerequisites: pmwiki-2.2.0-beta41
Status: Experimental
Maintainer: Pm
Categories: WikiConversion

Questions answered by this recipe

  • Can I convert pages from TikiWiki into PmWiki format?


This is a preliminary recipe for converting TikiWiki pages to PmWiki.

First, start by exporting pages from TikiWiki -- this produces a "tarball" containing TikiWiki pages as individual files. Extract the tarball into a directory somewhere (e.g., tiki.d/).

Next, copy the converttiki.phpΔ script into the cookbook/ directory, and add the following lines to local/config.php:

UseTikiDir('tiki.d', 'Tiki');

The UseTikiDir() function configures PmWiki to look in the given directory (tiki.d/) for pages in TikiWiki export format. These pages will then appear in PmWiki under the 'Tiki' group (or whatever group name is given as the second argument to UseTikiDir).

You can then browse the TikiWiki pages as if they were standard PmWiki pages. If someone edits the page, then the edited version of the page will be stored in the wiki.d/ (like any other standard PmWiki page).

To do a batch conversion of some or all TikiWiki pages to PmWiki format, try ?action=converttiki.


  • This is still a preliminary script, and I only had one sample TikiWiki page to work from when I wrote it. Feedback would be especially welcome.
  • Not all TikiWiki markups are converted to their PmWiki equivalent -- I need to find a more complete reference of available markups ( only lists a few of them).

See Also


  • Pm, 2007-03-30


See discussion at ConvertTikiWiki-Talk

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.