Not logged in. · Lost password · Register
Forum: General Help and Support General Stuff RSS
dokuwiki - list pages with modification date/time & userid
How to list all the pages in dokuwiki with the modification date/time and the userid?
Avatar
gshekar #1
Member since Sep 2018 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: dokuwiki - list pages with modification date/time & userid
My team documentation is maintained in dokuwiki.

 There is a "Recent Changes" button besides the search text window at the top right corner.  However it does not list all the pages, with modification date/time and user.

 Is there a way to list all the pages in the dokuwiki with the modification date/time and user?

 Please help.

 Thanks
Avatar
MartinR #2
Member since Jul 2015 · 137 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
If there isn't a suitable plugin you could use something like:
# cd $DOKU_DATA  # Or wherever your data root is.
# find meta -name \*.changes -execdir tail -1 {} \;
to get all the latest revisions.  You'll want to process the output, the fields are:

1)  Time of last change in seconds (use date(1) with option -t to change it to a formatted date/time)
2)  On my wiki the string "::1" which I'm not sure of.
3)  Operation: C=created, E=edited etc.
4)  Page name
5)  User
6)  Edit summary
7)  bytes changed.
Avatar
Michaelsy #3
Member since Jun 2015 · 893 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
In reply to post #1
Hello gshekar,

relevant links:
https://www.dokuwiki.org/config:recent
https://www.dokuwiki.org/config:recent_days
https://www.dokuwiki.org/devel:changelog
https://www.dokuwiki.org/tips:recreate_wiki_change_log

Be aware that the settings only control the daily trimming of the file /data/meta/_dokuwiki.changes. That means if you change the settings there is no immediatly other output of the "Recent Changes" to see.

The Plugin Changes maybe interest for you: https://www.dokuwiki.org/plugin:changes
It is based on  /data/meta/_dokuwiki.changes too. There are additional settings for this plugin.

HTH - Michael Sy.
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
This post was edited 2 times, last on 2018-09-14, 11:00 by Michaelsy.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-05-27, 13:41:12 (UTC +02:00)