From: Reini U. <ru...@x-...> - 2005-01-11 22:13:36
|
Jim Cheetham schrieb: > Dan Frankowski wrote: >> Reini Urban wrote: >>> Arnaud Fontaine schrieb: >>> >>>> What setting should I use to be sure to keep all revision of all >>>> pages in a wiki ? >>> >>> MAJOR_MIN_KEEP = 125269879 >>> MINOR_MIN_KEEP = 125269879 >> >> >> IMHO this should be the default. Most people don't have enough traffic >> to warrant throwing away revisions. If they do, then they can examine >> all the keep-revisions knobs and switches more carefully. > > I second that - and I wonder of there should be a better way of > expressing it, rather than just using a magic number ... perhaps 0? I use now in fact INT32_MAX. I don't want to use -1 because I doubt php's signed integer casting abilities and I don't want to add another constant. There's only CHAR_MAX, but no M_MAXINT or similar. 0 is a bit counter-intuitive; "keep nothing". -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |