cogFilter stream extension to parse a DokuWiki TEXT package
Developed by

Thomas Mortagne, Shubham Jain, Neha Gupta

Active Installs15
0 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager


Filter stream extension to parse a DokuWiki data package compressed and archived as a "tar.gz". DokuWiki stores pages in text format. 

Supported input

Data as TGZ

DokuWiki supports file-based storage where all the data associated to the wiki is stored in the "dokuWiki" folder of the DokuWiki installation (typically in /var/www). This folder can be used for backing up or exporting the wiki. The wiki spaces and documents are stored in the dokuwiki/data/pages/ directory as text files, see DokuWiki also recommends packaging the data folder as TGZ to preserve file metadata such as file timestamps, see 

Data as Directory

You can also use the path to "dokuwiki" folder as a source input directly (file-based storage is recommended).

Import a DokuWiki data to XWiki instance



  • After you have installed the two extensions, click on the Filter Stream Converter entry from the Applications panel
  • Choose the "XWiki instance output stream (xwiki+instance)" output type
  • Choose the "DokuWiki Text input stream (dokuwiki+text)" input type
    • Enter the path of the DokuWiki's directory as any apache compress supported format  like tgz or zip, folder, in case of file, enter the path followed by 'file:', as shown below.
    • If this is your first time, leave everything else to default values. 


After you have completed these steps, click the "Convert" button. After that, you will see the conversion progress.

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.


Dependencies for this extension (org.xwiki.contrib.dokuwiki:dokuwiki-text 1.3.3):

  • com.xk72:pherialize 1.2.4
  • org.apache.commons:commons-compress 1.12
  • commons-codec:commons-codec 1.10
  • commons-configuration:commons-configuration 1.10
  • org.xwiki.platform:xwiki-platform-filter-event-model 8.4
  • org.xwiki.platform:xwiki-platform-filter-event-user 8.4
  • org.xwiki.platform:xwiki-platform-model 8.4
  • org.xwiki.contrib.dokuwiki:dokuwiki-syntax 1.3.3
  • org.xwiki.rendering:xwiki-rendering-syntax-xwiki21 8.4
  • xerces:xercesImpl 2.11.0

Get Connected