[dokuwiki] Re: adding bz2 support?

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 25 Aug 2006 16:44:15 +0200

On Fri, 25 Aug 2006 14:50:28 +0200
Andreas Gohr <andi@xxxxxxxxxxxxxx> wrote:

> Terence J. Grant writes:
> 
> >> i implemented it like this:
> >>
> >> $conf['compression'] = 'gz';   //compress old revisions: (0: off)
> >('gz': gnuzip) ('bz2': bzip) >
> > 
> > Right, but 0, 1, 2 is backward compatible with 0, 1; the current
> > method. Also, some options (like userewrite) are 0, 1, 2. I'll agree
> > that it's intuitive, but we have config plugin now so it would not
> > be so much of an issue.
> 
> I agree and will apply and update Marcel's patch accordingly.

Looking at it again the usegzip config option would change it's name to
compression anyway, so we can change it's values as well.

Andi

Other related posts: