[dokuwiki] Re: Recent changes broken

Guy Brand wrote:
On 07 octobre at 16:35, Ben Coburn wrote:



This indicates that the import functioned correctly. The current changelog system uses a new configuration option "recent_days" to determine which changes really are recent. It defaults to 7 days, so if nothing has changed in the past week the "Recent Changes" page and RSS feed will be empty after the import. During normal operation some of the most recent stale changes will be kept around if nothing has been edited in the past week.

The "recent_days" configuration option is part of the optimization of the new changelog system, so it should be set to a reasonably small number based on the rate at which the wiki is edited. Settings of up to 3-6 months may even be reasonable on very slow moving wikis.


  I set recent_days to one year and everything is fine now. I added a
  note on that on http://wiki.splitbrain.org/wiki:changelog


I had the very same problem, but increasing recent_days didn't solve it. I had to rewind the importoldchangelog plugin manually (deleting "disabled" and "./data/meta/_dokuwiki.changes*") to work.
This isn't very userfriendly as disabling the plugin by the plugin manager (= removing "disabled") alone wouldn't work. And there is no UI way to remove "_dokuwiki.changes" etc., is there?


Is there anything I am missing?

Could someone please explain "recent_days" better? (Preferably at http://wiki.splitbrain.org/wiki:changelog.) What exactly is it configuring? The oldest age of the recent changes or the old revisions as well? Or only the oldest age of the recent changes to be *imported*?

When I had recent_days = 7 and increased it to 365 and it didn't work, I thought that makes sense as there might be no imported data (hence the rewinding of importoldchangelog). But when I changed it again to 3, there was no effect at all ...!?


Anika

--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: