create new tag
, view all tags


. I think there's an anomaly in anchor linking, particularly when the 32 character limit on an anchor ends with an underbar "_". See the link to the heading "Trouble with High Speed or Anti-Vibration CD-Rom Drives" in the last paragraph under http://twiki.org/cgi-bin/view/Wikilearn/Md5sumsAfterBurning#In_Linux.

I've tried to make that link a couple of ways, ending it with a "_" and without. In either case, it doesn't work, and the URL that is displayed when you hover over the link does not show the trailing "_". In contrast, the link is to a heading, and the link works properly from the table of contents on the same page.

  • TWiki version: Current SourceForge
  • Web server: " "
  • Server OS: " "
  • Web browser: na (but IE5 and Konqueror 2.2.1)
  • Client OS: na (but Win95 and Mandrake 8.1)

PS: Someone with admin privileges may wish to change the name of this topic to something like ProblemWithLongAnchorLinksEndingWithAnUnderbar.

-- RandyKramer - 28 Mar 2002


The problem is that the trailing parenthesis in the text is included in the link - put a space before the parenthesis, or use the forced internal links format.

Very long topic names are best avoided - this one is just fine smile

-- RichardDonkin - 28 Mar 2002


Thanks for the response, but I'm not getting something. I don't know if you meant parenthesis or comma, but I put a space after the link and before the comma, and deleted the parenthesis -- neither helped. I suppose I could use the forced internal links format (I think I know what you mean, or could figure it out), but I left it as is to see if you (or anyone else) could actually edit the link or something to make it work.

-- RandyKramer - 28 Mar 2002

Just fixed this in the page, the diff should make it clear what I did (space between the end of the ...7_2 link and the ')'. If you use forced internal links I think TWiki is a bit more permissive in its regular expression matching, but give it a go.

You can also link to anchors using Md5sumsAfterBurning#In_Linux and Md5sumsAfterBurning#In_Linux. The latter lets you put in whatever punctuation you want - or at least it would if you had chosen a valid WikiWord for the page name... See BackFromPreviewLosesText for an example, near the top.

-- RichardDonkin - 28 Mar 2002


Thanks again, but I've marked the question as asked again. I see the problem -- I guess I had two links that weren't working, and you've certainly fixed the first one (and tomorrow I'll review it again to understand it), but, the problem I originally raised was with the second link (I didn't even realize the first link was a problem). wink

Anyway, the link I'm concerned about is the the link to the heading "Trouble with High Speed or Anti-Vibration CD-Rom Drives" in the last paragraph under http://twiki.org/cgi-bin/view/Wikilearn/Md5sumsAfterBurning#In_Linux.

It looks like #Trouble_with_High_Speed_or_Anti_.

Sorry for the confusion!

-- RandyKramer - 28 Mar 2002

Ah... I was obviously not reading your posting properly!

I fixed this in my local TWiki with the patch attached - it is a bug IMO. However, this patch needs a lot more testing, in case it breaks something else, because I can't see why the bug happens in the first place (same routine is used to create the heading anchor and the link to the anchor...)

-- RichardDonkin - 28 Mar 2002


Thanks! I've added the TWikiPatches category to this page, and I'm going to suggest that it be incorporated in the Beijing release. That should give it a good test wink

-- RandyKramer - 29 Mar 2002

Fixed the TWikiPatches reference, putting Codev in front stops the search working. Hopefully we will just be able to use a form field soon!

-- RichardDonkin - 29 Mar 2002

Category: TWikiPatches

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch ProblemWithAnchorLinks.patch r1 manage 0.9 K 2002-03-29 - 07:45 RichardDonkin Fix for Dec 2001 release
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2002-03-29 - RichardDonkin
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.