Question
I have three TWiki 4.1.1 installations (dev/test/prod), each on a different server. The last one (the dev box) I did treats wikiwords for non-existent topics as plain text. Not only is no link provided, and no formatting applied, but when I view the source, I see no tag at all for the wikiword. So, instead of
It's all <a class="twikiNewLink" href="/twiki/bin/edit/Sandbox/FooBar" rel="nofollow" title="Create this topic">FooBar</a>, apparently.
I get this:
It's all FooBar, apparently.
It looks like there is a flag somewhere that is telling this TWiki to ignore non-existent wikiwords. I spent hours trying to find the answer in the code, and found the _renderWikiWord routine in Render.pm that clearly has a statement of the "only render non existing wiki words if a flag is set" variety:
if( $doLinkToMissingPages ) {
# CDot: disabled until SuggestSingularNotPlural is resolved
# if ($singular && $singular ne $theTopic) {
# #unshift( @topics, $singular);
# }
return _renderNonExistingWikiWord($this, $theWeb, $theTopic,
$theLinkText);
But I'm just not conversant enough in Perl or TWiki code to have figured out why
$doLinkToMissingPages would be in 'ignore' mode.
Clearly something is different on my dev box, and I have certainly done different things on it than on either the test or prod boxes, but I need help figuring it out. Any suggestions where to look next?
Environment
--
JohnWorsley - 03 Apr 2007
Answer
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.
Attached my configure output.
--
JohnWorsley - 03 Apr 2007
Do you have a
NOAUTOLINK preferences setting set to
on?
--
PeterThoeny - 03 Apr 2007
Well, I knew I didn't because autolinking to existing topics works fine, but I checked all my preferences topics anyway, so now I can say with total certainty, no.
I do have three plugins installed on my dev box that are not installed on the other two servers:
FlowchartPlugin,
MediaWikiTablePlugin, and
SectionalEditPlugin. I will keep trying to identify differences.
--
JohnWorsley - 03 Apr 2007
I just upgraded to TWiki 4.1.2, and now the formatting for autolinking is working normally. Marking answered.
--
JohnWorsley - 09 Apr 2007