====== 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: - [[config:recent_days]] - [[config:recent]] 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' ! -name '_media.changes' -exec cat {} + | sort -u > data/meta/_dokuwiki.changes (assumes current directory is dokuwiki install directory and a standard install) If you are using the [[:plugin:discussion]] plugin, make sure to include ''! -name '_comments.changes' '' before ''-exec'' in above command. ** 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