Question
I created a Wiki page a week ago, and it's already at r1.9. However an older page which undergoes more frequent revisions is only at r1.321.
How can I control revisioning to increment it by smaller amounts (.01 instead of .1) when I make minor changes?
Thanks.
Environment
--
LisRiba - 22 Dec 2004
Answer
um, not trying to be mean or anything but 9 < 321
These are NOT decimal numbers. They are "revision numbers" with '1' being the major revision and the minor revisions being numbered 1,2,3,...,9,10,11,...,99,100,101,...,200,etc.
In order to get to 2.0,2.1,etc you would need to create a new "branch". For more information lookup "RCS" or from any *nix box try `man rcs` and more specifically on version numbering try `man ci`.
hth,
--
ScottBeverly - 22 Dec 2004
Sorry Lis, there is no way to control the numbering within twiki. To use Scott's suggestion would mean hacking the core code. I suppose one could write a plugin which added leading zeroes when the page is rendered for the browser though. But what would would be the advantage r1.09 or r1.009 instead of r1.9 ?
--
MattWilkie - 22 Dec 2004
Okay, I
think I get it.
Just to clarify, the next revision after 1.9 will be 1.10, followed by 1.11? Right?
--
LisRiba - 22 Dec 2004
Yes,
LisRiba, that is correct. So your r1.9 topic had 9 revisions (including the first) and your r1.321 topic had 321 revisions.
--
DavidBright - 22 Dec 2004
To avoid this confusion (and to make implementing other storage backends easier) the code in DEVELOP has been changed (By
CrawfordCurrie) to only show the minor revision numbers, links to old revision using major.minor format still work for backward compatability.
--
SamHasler - 22 Dec 2004
Thanks for the prompt explanations.
You may wish to explain the numbering sequence somewhere in the docs/faqs, because I
did search a while before posting my question (maybe I was using the wrong terminology).
And it does mess with expectations.
My assumptions were that 1.21 is an incremental increase between 1.2 and 1.3, and that 1.1
= 1.10 = 1.100, which is clearly not the case.
I understand it now, but I'm probably not the only person to get confused in this manner.
[Wanted to post this ~90 minutes ago, but was locked out]
--
LisRiba - 22 Dec 2004
offtopic: everybody please add
* Set RELEASEEDITLOCKCHECKBOX = checked
to your home page so people aren't unnecessarily locked out. (and then be careful about using the back button to re-edit a page. ; )
--
MattWilkie - 23 Dec 2004