Tags:
dev_essential1Add my vote for this tag development1Add my vote for this tag create new tag
, view all tags
  $isDakar = (defined $TWiki::RELEASE)?1:0;
  if ($isDakar) {
    $isBeijing = 0;
    $isCairo = 0;
  } else {
    my $wikiVersion = $TWiki::wikiversion;
    if ($wikiVersion =~ /^01 Feb 2003/) {
      $isBeijing = 1; # beijing
      $isCairo = 0;
    } else {
      $isBeijing = 0; # cairo
      $isCairo = 1;
    }
  }

From IfDefinedPlugin

-- Contributors: MeredithLesly

Discussion

This needs to be in:

TWiki::Func::twikiVersion()

or similar

-- MartinCleaver - 04 Mar 2006

The $TWiki::Plugins::VERSION is the authoritative entity for Plugin to determine the TWiki version. For what is above listed code needed?

-- PeterThoeny - 06 Mar 2006

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-03-06 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.