[dokuwiki] Re: Recent changes broken
- From: Anika Henke <a.c.henke@xxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Mon, 23 Oct 2006 01:34:29 +0200
Ben Coburn wrote:
On Oct 22, 2006, at 3:19 AM, Anika Henke wrote:
The importoldchangelog plugin runs once to automatically import the old
changelog. The "./data/meta/_dokuwiki.changes" file is the recent
changes cache created during the import. While importing, only changes
newer than "recent_days" will be added to this cache. This is just done
to populate the recent changes cache with some data before any new edits
have been made. The importoldchangelog plugin is **not intended to run
more than once**, this is why there is no UI to make rerunning the
plugin simple.
Is there anything I am missing?
It is valid for the recent changes cache to be empty after the import.
New changes will be added to the recent changes cache as they are made.
The permanent changelogs are stored as one file per wiki page, such as
"./data/meta/start.changes". The "do=check" messages will show if the
changelog has been correctly imported.
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*?
The recent changes cache ("./data/meta/_dokuwiki.changes") stores the
changes that are used to generate the recent changes and RSS feed. To
keep the cache from expanding forever, it is trimmed daily. While
trimming, changes newer than "recent_days" will be retained. If there
are no changes newer than "recent_days" the trimmer will attempt to
retain $conf['recent'] changelog lines to avoid emptying the recent
changes cache.
Okay, I understood most of it. ;-)
The importoldchangelog plugin initially imports to each page's *.changes
and to _dokuwiki.changes (the size of the latter depending on
recent_days), which are after that filled by normal procedures (editing,
etc.), right?
While testing I see that decreasing recent_days shows its effect only
after editing a page. (That's the one thing I didn't try. x-) ) But
*increasing* recent_days seems not to be possible! You will have to wait
until it gets populated during the normal editing process to show the
effect ...
So, doesn't that mean that I *have* to re-run the importoldchangelog
plugin, if I have a slow wiki? There is no other way to fill the recent
changes cache with older data, is there?
Okay, another way would be to *first* think about it and increase
recent_days *before* the upgrade. But human beings are not good at
thinking first ... ;-)
Anika
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: Recent changes broken
- From: Guy Brand
- References:
- [dokuwiki] Recent changes broken
- From: Guy Brand
- [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
Other related posts:
- » [dokuwiki] Recent changes broken
- » [dokuwiki] Re: Recent changes broken
- » [dokuwiki] Re: Recent changes broken
- » [dokuwiki] Re: Recent changes broken
- » [dokuwiki] Re: Recent changes broken
- » [dokuwiki] Re: Recent changes broken
- » [dokuwiki] Re: Recent changes broken
- » [dokuwiki] Re: Recent changes broken
- » [dokuwiki] Re: Recent changes broken
- » [dokuwiki] Re: Recent changes broken
- » [dokuwiki] Re: Recent changes broken
- » [dokuwiki] Re: Recent changes broken
- » [dokuwiki] Re: Recent changes broken
- » [dokuwiki] Re: Recent changes broken
Is there anything I am missing?
It is valid for the recent changes cache to be empty after the import. New changes will be added to the recent changes cache as they are made. The permanent changelogs are stored as one file per wiki page, such as "./data/meta/start.changes". The "do=check" messages will show if the changelog has been correctly imported.
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*?
The recent changes cache ("./data/meta/_dokuwiki.changes") stores the changes that are used to generate the recent changes and RSS feed. To keep the cache from expanding forever, it is trimmed daily. While trimming, changes newer than "recent_days" will be retained. If there are no changes newer than "recent_days" the trimmer will attempt to retain $conf['recent'] changelog lines to avoid emptying the recent changes cache.
Okay, I understood most of it. ;-)
Anika -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist
- [dokuwiki] Re: Recent changes broken
- From: Guy Brand
- [dokuwiki] Recent changes broken
- From: Guy Brand
- [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