[dokuwiki] Re: Recent changes & import update
- From: Ben Coburn <btcoburn@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Mon, 23 Oct 2006 15:33:24 -0700
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'].
Changing $conf['recent_days'] changes the meaning of "recent". What do
you want to call "recent"? Changes one week old? One month old? etc...
Regards, Ben Coburn
-------------------
silicodon.net
-------------------
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: Recent changes & import update
- From: Anika Henke
- 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
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.
------------------- silicodon.net -------------------
- [dokuwiki] Re: Recent changes & import update
- From: Anika Henke
- [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