Question
At twiki.org I can download TWiki release 4.0.5
On twiki.org (in TWiki/TWikiVariables) WIKIVERSION expands to
Fri, 31 Mar 2006 build 9623
Where I work, WIKIVERSION expands to
=$Date: 2006/12/21 13:19:25 $ $Rev: 10807 $ =
On a TWiki I installed for personal use, WIKIVERSION expands to
TWiki-4.0.4-2, Tue, 23 Jul 2006, build 10807
Where my spouse works, WIKIVERSION expands to
TWiki-4.0.5, Tue, 24 Oct 2006, build 11822
Only two of these four examples actually tell me
which version of TWiki. Dates and build numbers are useful, necessary but not sufficient. WIKIVERSION should always return something I can take to twiki.org and determine where I stand in relation to the latest release.
Is there a better place than WIKIVERSION to enquire "What version of TWiki is this?"
Environment
--
VickiBrown - 20 Dec 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Unfortunately there isn't an easy way, in all but very recent versions of TWiki. This was a plain bug, overlooked during the tests for a long time. There is a Perl variable
$RELEASE which is defined in TWiki.pm (around line 160), but this has not been expanded into the string from which
%WIKIVERSION% is made until recently.
Build numbers for production releases can be found in
TWikiRelease04x00,
TWikiReleases contains a table for beta releases. So, build 9623 is basically 4.0.2, and 10807 is a 4.0.4 without the hotfix which has repaired
%WIKIVERSION% .
Sorry for the confusion - but as you see, things are getting better
--
HaraldJoerg - 21 Dec 2006