Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x01x01
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Solaris 10
Web server: Apache 1.3.33
Perl version: 5.8.4
Client OS: Windows XP
Web Browser: Firefox 2.0.0.3 and IE 6.0.2900.2180.xpsp_sp2_gdr.050301-1519
Categories: Platform, Missing functionality, Deployment, Skin

-- JohnWorsley - 03 Apr 2007

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.

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

 
Change status to:
Topic attachments
I Attachment Action Size Date Who Comment
Texttxt configure.txt manage 165.7 K 2007-04-03 - 01:03 JohnWorsley Complete output of configure script
Topic revision: r4 - 2007-04-09 - JohnWorsley
 
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.