[dokuwiki] Re: Recent changes & import update
- From: Anika Henke <a.c.henke@xxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Fri, 27 Oct 2006 11:56:39 +0200
Ben Coburn wrote:
On Oct 23, 2006, at 3:01 PM, Guy Brand wrote:
On 23 October at 11:30, Ben Coburn wrote:
I'll look into changing the code for importing the old changelog so
that it puts all the old changes into the recent changes cache. The
changelog trimmer (in the indexer) will then cut the recent changes
cache down to size on the first run. This will also give people a whole
24 hours to set $conf['recent_days'] to the "right" value for their
wiki.
Hmmm, seems I forgot the action of the trimmer which will shrink the
cache anyway. I don't think having 24 hours to change recent_days is
a user (or admin) friendly solution. So here is an other scenario to
keep at least 20 (or whatever $conf['recent'] value is set to)
entries after importing the changes.
I think you are misunderstanding. The trimmer *already* keeps
$conf['recent'] changes in the recent changes cache. This minimum number
of changes will be kept no mater what value is given to
$conf['recent_days'].
Hmm ... Are you saying that with
$conf['recent'] = 20;
$conf['recent_days'] = 7;
and having only 5 pages changed during the last 7 days,
that ?do=recent should *still* be displaying 20 items??
If that is what you meant, then obviously that is not the case ...!?
Anika
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: Recent changes & import update
- From: Ben Coburn
- References:
- [dokuwiki] Re: Recent changes broken
- From: Chris Smith
- [dokuwiki] Re: Recent changes broken
- From: Guy Brand
- [dokuwiki] Re: Recent changes broken
- From: Ben Coburn
- [dokuwiki] Re: Recent changes broken
- From: Guy Brand
- [dokuwiki] Re: Recent changes broken
- From: Anika Henke
- [dokuwiki] Re: Recent changes broken
- From: Ben Coburn
- [dokuwiki] Re: Recent changes broken
- From: Anika Henke
- [dokuwiki] Re: Recent changes broken
- From: Guy Brand
- [dokuwiki] Re: Recent changes broken
- From: Andreas Gohr
- [dokuwiki] Re: Recent changes & import update
- From: Ben Coburn
- [dokuwiki] Re: Recent changes & import update
- From: Guy Brand
- [dokuwiki] Re: Recent changes & import update
- From: Ben Coburn
Other related posts:
- » [dokuwiki] Re: Recent changes & import update
- » [dokuwiki] Re: Recent changes & import update
- » [dokuwiki] Re: Recent changes & import update
- » [dokuwiki] Re: Recent changes & import update
- » [dokuwiki] Re: Recent changes & import update
- » [dokuwiki] Re: Recent changes & import update
On Oct 23, 2006, at 3:01 PM, Guy Brand wrote:
On 23 October at 11:30, Ben Coburn wrote:
I'll look into changing the code for importing the old changelog so that it puts all the old changes into the recent changes cache. The changelog trimmer (in the indexer) will then cut the recent changes cache down to size on the first run. This will also give people a whole 24 hours to set $conf['recent_days'] to the "right" value for their wiki.
Hmmm, seems I forgot the action of the trimmer which will shrink the cache anyway. I don't think having 24 hours to change recent_days is a user (or admin) friendly solution. So here is an other scenario to keep at least 20 (or whatever $conf['recent'] value is set to) entries after importing the changes.
I think you are misunderstanding. The trimmer *already* keeps $conf['recent'] changes in the recent changes cache. This minimum number of changes will be kept no mater what value is given to $conf['recent_days'].
Hmm ... Are you saying that with $conf['recent'] = 20; $conf['recent_days'] = 7; and having only 5 pages changed during the last 7 days, that ?do=recent should *still* be displaying 20 items??
- [dokuwiki] Re: Recent changes & import update
- From: Ben Coburn
- [dokuwiki] Re: Recent changes broken
- From: Chris Smith
- [dokuwiki] Re: Recent changes broken
- From: Guy Brand
- [dokuwiki] Re: Recent changes broken
- From: Ben Coburn
- [dokuwiki] Re: Recent changes broken
- From: Guy Brand
- [dokuwiki] Re: Recent changes broken
- From: Anika Henke
- [dokuwiki] Re: Recent changes broken
- From: Ben Coburn
- [dokuwiki] Re: Recent changes broken
- From: Anika Henke
- [dokuwiki] Re: Recent changes broken
- From: Guy Brand
- [dokuwiki] Re: Recent changes broken
- From: Andreas Gohr
- [dokuwiki] Re: Recent changes & import update
- From: Ben Coburn
- [dokuwiki] Re: Recent changes & import update
- From: Guy Brand
- [dokuwiki] Re: Recent changes & import update
- From: Ben Coburn