[dokuwiki] Re: Changelog rewrite, survey!

  • From: Kasper Sandberg <redeeman@xxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 03 Aug 2006 14:55:57 +0200

On Tue, 2006-08-01 at 10:46 -0700, Ben Coburn wrote:
> While writing the new changelog code, I would find it useful to have 
> some "real-world" information on the size of large changelogs and their 
> average line length. If you have a large changelog file, please reply 
> directly to me with these two details.
> 
> 1) size of the changelog file (in bytes)
9624
> 2) number of lines in the changelog file
141

forgive my writing here, instead of to you personally, however i have a
few thoughts about a new changelog system.
personally i dont have speed problems with my wiki, and as you can see,
my changelog is fairly small(yet).

im not sure what exactly would be the best approach to creating a new
system, however i do have a few things i hope you can consider.

1: the changelog system could keep the "wiki history", perhaps in a
separate file? what i mean is, well.. im not exactly sure how to explain
what i mean, but here goes:
if i create a page called apache in the namespace servers, giving me
"servers:apache", and then after 10 revisions, "move" this page to
"hosting:apache", then later create servers:apache again, then the
history should know that this is a new article, and then, an admin
plugin to move a page and changelog could be created. (disclaimer: this
is just a thought, however i would like a move page admin plugin)
----

2: what i like about the current system, is that its nice simple and
readable, however i can understand why it may not scale so well if the
entire file is read, after all much used wikis may quickly get a many
MiB large changelog, and in that case it could take long time to
process. perhaps it should just be split into a separate file for each
page?

> The changelog file is typically found at 'data/changes.log'. I will 
> summarize the results back to the list. Thanks for your help.
> 
> Regards, Ben Coburn
> 
> 
> -------------------
>    silicodon.net
> -------------------
> 

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: