From: Sergio T. <ser...@ho...> - 2003-10-28 02:12:19
|
I have been traversing through the PHPWiki documenation using PHPDocumentor on the the .php files in /lib ... and have also been looking at data entered into the six PHWiki tables created with MySQL. Its not clear, so I'm wondering if anyone knows what the criteria is for a major version compared to a minor version (associated with the "latestmajor" and "latestminor" attributes in the recent table)? On the related topic of versioning, what happens if, in the version table, the value of the minor_edit attribute exceeds 256 characters (I.e., tinyint if unsigned has a range of 0 to 255)? Serj _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail |
From: Jean-Bernard W. <jw...@fr...> - 2003-10-28 09:44:55
|
I think - I might be wrong - that if, when editing a page, you tick the box saaying "this is a minor update", then that's the criteria. Well, at least in version 1.3.4 Sergio Trejo wrote: > I have been traversing through the PHPWiki documenation using > PHPDocumentor on the the .php files in /lib ... and have also been > looking at data entered into the six PHWiki tables created with MySQL. > Its not clear, so I'm wondering if anyone knows what the criteria is for > a major version compared to a minor version (associated with the > "latestmajor" and "latestminor" attributes in the recent table)? > > On the related topic of versioning, what happens if, in the version > table, the value of the minor_edit attribute exceeds 256 characters > (I.e., tinyint if unsigned has a range of 0 to 255)? > > Serj > > _________________________________________________________________ > Add photos to your messages with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > > -- Mais qu'est-ce qu'il a de plus que moi Rick Hunter ? |
From: Frank S. <fra...@rn...> - 2003-10-28 10:21:14
|
With the proviso that I run a (fairly recent) CVS PhpWiki: If I make a page and you edit it then that's a major edit (unless you tick the "minor edit" checkbox, as you mentioned). If I make a page and then edit that page again then that's a minor edit (unless I untick the "minor edit" checkbox"). If I make a page and don't edit the page for a long time (the exact time is configurable, but I think it defaults to something like 7 days) and then edit it again, that's a major edit. Those are the major cases, at any rate - I'm not sure if my list is exhaustive. As to the number of minor edits, this is configurable in index.php (look for MINOR_EDIT_TIMEOUT and the like), but the default behaviour is quite sensible. Using the SystemInfo plugin, mine is left as the default configuration, which is this: "Keep up to 8 major edits, but keep them no longer than 32 days. Keep up to 4 minor edits, but keep them no longer than 7 days. Keep the latest contributions of the last 8 authors up to 365 days. Additionally, try to keep the latest contributions of all authors in the last 7 days (even if there are more than 8 of them,) but in no case keep more than 20 unique author revisions." In other words, you should never get to have 256 minor edits on a page - the older edits will be discarded. Not your changes, obviously! frank > >>> "jw...@fr..." 10/28/03 09:40 >>> > > I think - I might be wrong - that if, when editing a page, > you tick the > box saaying "this is a minor update", then that's the criteria. > Well, at least in version 1.3.4 > > > Sergio Trejo wrote: > > > I have been traversing through the PHPWiki documenation using > > PHPDocumentor on the the .php files in /lib ... and have also been > > looking at data entered into the six PHWiki tables created > with MySQL. > > Its not clear, so I'm wondering if anyone knows what the > criteria is for> > a major version compared to a minor version (associated with the > > "latestmajor" and "latestminor" attributes in the recent table)? > > > > On the related topic of versioning, what happens if, in the version > > table, the value of the minor_edit attribute exceeds 256 characters > > (I.e., tinyint if unsigned has a range of 0 to 255)? > > > > Serj |