# Configuration/constant variables:add the variable $JavaScript
$FS $FS1 $FS2 $FS3 $CookieName $SiteBase $StyleSheet $JavaScript $NotFoundPgIn the section
# == Configuration =====================================================initialise the variable $JavaScript. If you have a separate ConfigFile? you need to add it there too (see below)
$JavaScript = ""; # URL for Javascript source (like "/wiki.js") ##TABIn routine
sub GetHtmlHeader {add the following code, note the next line is not actually part of this patch - but since you are in the area you might as well add the TYPE to the stylesheet link
$html .= qq(<LINK REL="stylesheet" HREF="$StyleSheet" TYPE="text/css">\n); ##TAB if ($JavaScript ne '') { ##TAB $html .= qq(<SCRIPT LANGUAGE="JavaScript" SRC="$JavaScript" TYPE="text/javascript">); ##TAB $html .= qq(</SCRIPT>\n); ##TAB } ##TABAfter the last new line above you can add the following line, to ensure your wiki pages are not cached.
$html .= qq (<META HTTP-EQUIV="Pragma" CONTENT="no-cache">\n); ##TAB
In your config file - if you use one, add the line (adjusting the URL to suit)
$JavaScript = "/wlink/wiki_script.js"; # URL for JavaScript source (like "/wiki.js") #TAB