From: Sabri L. <sab...@st...> - 2007-03-26 14:56:39
|
Hi all, I noticed that phpwiki removes some revisions from a page history. It = removes either major and minor revisions. I want phpwiki to save all the revisions in the database. In config.ini = I commented these lines: ; Keep up to 8 major edits, but keep them no longer than a month. ;MAJOR_MAX_AGE =3D 32 ;MAJOR_KEEP =3D 8 ; Keep up to 4 minor edits, but keep them no longer than a week. ;MINOR_MAX_AGE =3D 7 ;MINOR_KEEP =3D 4 And uncomment these ones : ; Let all revisions be stored. Default since 1.3.11 MAJOR_MIN_KEEP =3D 2147483647 MINOR_MIN_KEEP =3D 2147483647 That was not sufficient to make wiki store all revisions. It kept the = same behaviour and still removes some of the old revisions. Is there something else I should do ? Thanks, -- Sabri. =20 |
From: Sabri L. <sab...@st...> - 2007-04-04 09:47:07
|
Hi, After some tests, I think that changing expire params from config.ini has no effect. New values are not taken into consideration. If this is true, expiring params are hard coded somewhere in the code and I can't figure out how to tune them so that phpwiki will store all revisions. I desasctivated the Archive cleanning from 'savePage()' function in 'editpage.php' and Phpwiki continue to remove revisions after each save. I think that it is not a normal behaviour. Any help/idea ? Cheers, -- Sabri. Sabri LABBENE (March 26, 2007 3:56 PM) wrote: >Hi all, >I noticed that phpwiki removes some revisions from a page >history. It removes either major and minor revisions. >I want phpwiki to save all the revisions in the database. In >config.ini I commented these lines: > >; Keep up to 8 major edits, but keep them no longer than a month. >;MAJOR_MAX_AGE = 32 >;MAJOR_KEEP = 8 > >; Keep up to 4 minor edits, but keep them no longer than a week. >;MINOR_MAX_AGE = 7 >;MINOR_KEEP = 4 > >And uncomment these ones : > >; Let all revisions be stored. Default since 1.3.11 >MAJOR_MIN_KEEP = 2147483647 MINOR_MIN_KEEP = 2147483647 > >That was not sufficient to make wiki store all revisions. It >kept the same behaviour and still removes some of the old revisions. > >Is there something else I should do ? > >Thanks, >-- Sabri. > > > >--------------------------------------------------------------- >---------- >Take Surveys. Earn Cash. Influence the Future of IT Join >SourceForge.net's Techsay panel and you'll get the chance to >share your opinions on IT & business topics through brief >surveys-and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge& >CID=DEVDEV >_______________________________________________ >Phpwiki-talk mailing list >Php...@li... >https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > |
From: Reini U. <ru...@x-...> - 2007-04-05 14:17:25
|
Sabri LABBENE schrieb: > Hi, > > After some tests, I think that changing expire params from config.ini has no > effect. New values are not taken into consideration. > > If this is true, expiring params are hard coded somewhere in the code and I > can't figure out how to tune them so that phpwiki will store all revisions. > > I desasctivated the Archive cleanning from 'savePage()' function in > 'editpage.php' and Phpwiki continue to remove revisions after each save. > > I think that it is not a normal behaviour. > > Any help/idea ? > > Cheers, > -- Sabri. > > Sabri LABBENE (March 26, 2007 3:56 PM) wrote: >> Hi all, >> I noticed that phpwiki removes some revisions from a page >> history. It removes either major and minor revisions. >> I want phpwiki to save all the revisions in the database. In >> config.ini I commented these lines: >> >> ; Keep up to 8 major edits, but keep them no longer than a month. >> ;MAJOR_MAX_AGE = 32 >> ;MAJOR_KEEP = 8 >> >> ; Keep up to 4 minor edits, but keep them no longer than a week. >> ;MINOR_MAX_AGE = 7 >> ;MINOR_KEEP = 4 >> >> And uncomment these ones : >> >> ; Let all revisions be stored. Default since 1.3.11 >> MAJOR_MIN_KEEP = 2147483647 MINOR_MIN_KEEP = 2147483647 Just to ensure: These should be in a seperate line. Like MAJOR_MIN_KEEP = 2147483647 MINOR_MIN_KEEP = 2147483647 >> >> That was not sufficient to make wiki store all revisions. It >> kept the same behaviour and still removes some of the old revisions. >> |
From: Sabri L. <sab...@st...> - 2007-04-05 14:41:14
|
>-----Original Message----- >From: php...@li... >[mailto:php...@li...] On Behalf >Of Reini Urban >Sent: Thursday, April 05, 2007 3:17 PM >To: Discussion on PhpWiki features, bugs, development. >Subject: Re: [Phpwiki-talk] About removing revisions from page history > >Sabri LABBENE schrieb: >> Hi, >> >> After some tests, I think that changing expire params from >config.ini has no >> effect. New values are not taken into consideration. >> >> If this is true, expiring params are hard coded somewhere in >the code and I >> can't figure out how to tune them so that phpwiki will store >all revisions. >> >> I desasctivated the Archive cleanning from 'savePage()' function in >> 'editpage.php' and Phpwiki continue to remove revisions >after each save. >> >> I think that it is not a normal behaviour. >> >> Any help/idea ? >> >> Cheers, >> -- Sabri. >> >> Sabri LABBENE (March 26, 2007 3:56 PM) wrote: >>> Hi all, >>> I noticed that phpwiki removes some revisions from a page >>> history. It removes either major and minor revisions. >>> I want phpwiki to save all the revisions in the database. In >>> config.ini I commented these lines: >>> >>> ; Keep up to 8 major edits, but keep them no longer than a month. >>> ;MAJOR_MAX_AGE = 32 >>> ;MAJOR_KEEP = 8 >>> >>> ; Keep up to 4 minor edits, but keep them no longer than a week. >>> ;MINOR_MAX_AGE = 7 >>> ;MINOR_KEEP = 4 >>> >>> And uncomment these ones : >>> >>> ; Let all revisions be stored. Default since 1.3.11 >>> MAJOR_MIN_KEEP = 2147483647 MINOR_MIN_KEEP = 2147483647 > >Just to ensure: These should be in a seperate line. Like >MAJOR_MIN_KEEP = 2147483647 >MINOR_MIN_KEEP = 2147483647 Yes. The layout and line breaks of my email were broken. >>> >>> That was not sufficient to make wiki store all revisions. It >>> kept the same behaviour and still removes some of the old revisions. >>> > I finally found out how to tune these params. It is from 'config-default.ini', thing I didn't expect. Thanks, -- Sabri. |