Translations of this page?:

Rebuilding a Wiki Change Log

DokuWiki stores the wiki changes listing in the file, data/meta/_dokuwiki.changes. The number and duration of changes stored in that file are controlled by two configuration options:

Each individual page in your wiki also has its own change listing file, data/meta/namespace/pagename.changes.

The information in the single page files has the same format (see below) as the information in the wiki wide file, meaning it is possible to recreate the complete wiki change listing by concatenating all the individual pages files together.

linux command to recreate wiki changes file

find data/meta -name '*.changes' -exec cat '{}' \; | sort -u > data/meta/_dokuwiki.changes

(assumes current directory is dokuwiki install directory and a standard install)

change listing format

date stamp      ip address of editor   flag*   namespace & page file name     user**     change comment
-------------------------------------------------------------------------------------------------------
1206836149      1.2.3.4                C       sandbox:divalign               me         created

* flag indicating change type, e.g. C=created, D=removed, E=edited.
** blank if an anonymous edit

 
wiki/tips/recreate_wiki_change_log.txt · Last modified: 2008/04/06 17:37 by ChrisS
 
Imprint Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsTranslate