Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- VickiBrown - 20 Dec 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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 smile

-- HaraldJoerg - 21 Dec 2006

 
Change status to:
Topic revision: r2 - 2006-12-21 - HaraldJoerg
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.