[dokuwiki] Re: Recent changes
- From: Chris Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sun, 24 Sep 2006 18:12:53 +0100
Ben Coburn wrote:
I don't see any reason to make the trimmer more complicated. The
ksort() you added to getRecents() will already cleanup any out of
order lines in the recent changes cache. The changelog caches of
wiki's running the darcs snapshot will turn over in about
$conf['recent_days'] days.
Maybe, but I don't believe it is that much more complex.
The sort in getRecents is for appearance only. It only sorts the one
page of changes returned. If the change log consists of more than one
page the second and subsequent pages may contain entries out of order
with respect to the first page - although the entries on each page will
be displayed neatly ordered.
Yes, and thats five days - unless like me you've increased it quite a
bit :-)
Cheers,
Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] Recent changes
- From: Chris Smith
- [dokuwiki] Re: Recent changes
- From: Ben Coburn
- [dokuwiki] Re: Recent changes
- From: Chris Smith
- [dokuwiki] Re: Recent changes
- From: Ben Coburn
Other related posts:
- » [dokuwiki] Recent changes
- » [dokuwiki] Re: Recent changes
- » [dokuwiki] Re: Recent changes
- » [dokuwiki] Re: Recent changes
- » [dokuwiki] Re: Recent changes
- » [dokuwiki] Re: Recent changes
- » [dokuwiki] Re: Recent changes
I don't see any reason to make the trimmer more complicated. The ksort() you added to getRecents() will already cleanup any out of order lines in the recent changes cache. The changelog caches of wiki's running the darcs snapshot will turn over in about $conf['recent_days'] days.
- [dokuwiki] Recent changes
- From: Chris Smith
- [dokuwiki] Re: Recent changes
- From: Ben Coburn
- [dokuwiki] Re: Recent changes
- From: Chris Smith
- [dokuwiki] Re: Recent changes
- From: Ben Coburn