From: Arnaud F. <ar...@cr...> - 2005-01-10 16:16:24
|
Silly question but ... What setting should I use to be sure to keep all revision of all pages in a wiki ? I suddenly realised that a 2 years old wiki has lost ... so many revisions :( -- Arnaud Fontaine CRAO Jabber: sh...@ra... |
From: Reini U. <ru...@x-...> - 2005-01-10 20:39:03
|
Arnaud Fontaine schrieb: > Silly question but ... > > What setting should I use to be sure to keep all revision of all pages > in a wiki ? > > I suddenly realised that a 2 years old wiki has lost ... so many > revisions :( MAJOR_MIN_KEEP = 125269879 MINOR_MIN_KEEP = 125269879 -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |
From: Dan F. <dfr...@cs...> - 2005-01-11 15:38:05
|
Reini Urban wrote: > Arnaud Fontaine schrieb: > >> Silly question but ... >> >> What setting should I use to be sure to keep all revision of all >> pages in a wiki ? >> >> I suddenly realised that a 2 years old wiki has lost ... so many >> revisions :( > > > 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. Dan |
From: Reini U. <ru...@x-...> - 2005-01-11 20:59:03
|
Dan Frankowski schrieb: > Reini Urban wrote: >> Arnaud Fontaine schrieb: >>> Silly question but ... >>> >>> What setting should I use to be sure to keep all revision of all >>> pages in a wiki ? >>> >>> I suddenly realised that a 2 years old wiki has lost ... so many >>> revisions :( >> >> 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 believe this also. I did it. BTW: This is just a number. In fact it should be #7fffffff, not #77777777. $ /usr/lib/php/bin/php.exe -an Interactive mode enabled <?php print_r(0x7fffffff); Ctrl-D 2147483647 print_r(0x7777777); Ctrl-D 125269879 -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |
From: Dan F. <dfr...@cs...> - 2005-01-12 15:15:09
|
Reini Urban wrote: > Dan Frankowski schrieb: > >> Reini Urban wrote: >> >>> Arnaud Fontaine schrieb: >>> >>>> Silly question but ... >>>> >>>> What setting should I use to be sure to keep all revision of all >>>> pages in a wiki ? >>>> >>>> I suddenly realised that a 2 years old wiki has lost ... so many >>>> revisions :( >>> >>> >>> 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 believe this also. I did it. Great! Dan |
From: Jim C. <ji...@in...> - 2005-01-11 21:15:03
|
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? -jim |
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/ |