Changeset 8105


Ignore:
Timestamp:
07/10/10 04:16:04 (23 months ago)
Author:
PaulHarvey
Message:

Item8500: Initialise sites table on each initPlugin() for mod_perl, fcgi

Location:
branches/Release01x00/InterwikiPlugin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/Release01x00/InterwikiPlugin/data/System/InterwikiPlugin.txt

    r6708 r8105  
    5252|  Release: | %$RELEASE% | 
    5353|  Change History: | <!-- versions below in reverse order -->&nbsp; | 
    54 |  10 Mar 2010: | =mod_perl= and =FastCGI= compatible | 
     54|  10 Jul 2010: | =mod_perl= and =FastCGI= compatible | 
    5555|  20 Sep 2009: | Version from 15 Apr now included with Foswiki 1.0.7. | 
    5656|  15 Apr 2009: | Foswiki:Main.CrawfordCurrie - removed plugin preferences from this topic | 
  • branches/Release01x00/InterwikiPlugin/lib/Foswiki/Plugins/InterwikiPlugin.pm

    r6708 r8105  
    4343 
    4444our $VERSION           = '$Rev$'; 
    45 our $RELEASE           = '10 Mar 2010'; 
     45our $RELEASE           = '10 Jul 2010'; 
    4646our $NO_PREFS_IN_TOPIC = 1; 
    4747our $SHORTDESCRIPTION = 
     
    6969    my $man = Foswiki::Func::getRegularExpression('mixedAlphaNum'); 
    7070    my $ua  = Foswiki::Func::getRegularExpression('upperAlpha'); 
     71    %interSiteTable = (); 
    7172    $sitePattern = "([$ua][$man]+)"; 
    7273    $pagePattern = "([${man}_\/][$man" . '\.\/\+\_\,\&\;\:\=\!\?\%\#\@\-]*?)'; 
     
    111112    $_[0] =~ 
    112113s/(^|[\s\-\*\(])$sitePattern:$pagePattern(?=[\s\.\,\;\:\!\?\)\|]*(\s|$))/_link($1,$2,$3)/geo; 
     114 
     115    return; 
    113116} 
    114117 
Note: See TracChangeset for help on using the changeset viewer.