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. >> |