Table of Contents

Upgrading by using diff/patch

This page describes how to create patch files to upgrade DokuWiki from one Version to another. The advantage of that method is that it will keep modifications you may have made to the DokuWiki core code.

The following description assumes a Linux system. You may need to adjust it for different Operating Systems.

Creating the patch file

To create a patch file, you need to download two fresh, unmodified copies of DokuWiki. One matching the version you are currently running and one of the version you want to upgrade to.

Create a directory for temporary use, and change into it:

$> mkdir WikiUpgrade
$> cd WikiUpgrade

Download the two versions of DokuWiki, your current and the version you desire to upgrade to