[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

Other related posts: