DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:recreate_wiki_change_log

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:tips:recreate_wiki_change_log [2008-04-06 17:37] – created ChrisStips:recreate_wiki_change_log [2020-04-17 22:46] (current) Albert25
Line 2: Line 2:
  
 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: 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:
-  - http://www.dokuwiki.org/wiki:config#recent_days +  - [[config:recent_days]] 
-  - http://www.dokuwiki.org/wiki:config#recent+  - [[config:recent]]
  
 Each individual page in your wiki also has its own change listing file, ''data/meta/namespace/pagename.changes''.   Each individual page in your wiki also has its own change listing file, ''data/meta/namespace/pagename.changes''.  
Line 11: Line 11:
 ** linux command to recreate wiki changes file ** ** linux command to recreate wiki changes file **
 <code bash> <code bash>
-find data/meta -name '*.changes' -exec cat '{}' \; | sort -u > data/meta/_dokuwiki.changes+find data/meta -name '*.changes' ! -name '_media.changes' -exec cat {} | sort -u > data/meta/_dokuwiki.changes
 </code> </code>
 (assumes current directory is dokuwiki install directory and a standard install) (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** ** change listing format**
Line 23: Line 25:
 * flag indicating change type, e.g. C=created, D=removed, E=edited.\\ * flag indicating change type, e.g. C=created, D=removed, E=edited.\\
 ** blank if an anonymous edit ** blank if an anonymous edit
- 
  
tips/recreate_wiki_change_log.1207496220.txt.gz · Last modified: 2010-06-01 16:31 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki