Tags:
create new tag
, view all tags

Summary

Basically, a link can be recognized within another link, in either the double square bracket syntax or within a table of contents entry (heading), and maybe other cases. Read on for more description of the behavior.

I (and RichardDonkin) don't think it should be this way.

-- RandyKramer - 30 Mar 2002

Details

(Originally from AnomalyInDoubleSquareBracketSyntax, with no refactoring so far.)

Question

.I'm reporting this behavior -- not sure it needs to be fixed -- it's just something that might be considered in any future redesign of TWiki.

See RPM, and especially the link "An FAQ re rebuilding the RPM database". The behavior is strange in both IE5 and Konqueror, but slightly different in each case.

The link was created like this:

[[http://hermes.afaa.asso.fr/users/pascal/linux/rpm-rebuilddb][An FAQ re rebuilding the RPM database]]

In IE5, the link is displayed with an underline under all but the word database, in other words, "database" is not included in the link. In addition you may find "RPM" displayed in a different color than the rest of the link (like a visited vs. an unvisited link).

In konqueror, the link is displayed with the word "database" as part of the link, but, like IE5, you may find "RPM" displayed in a different color than the rest of the link.

If you hover your mouse over the RPM in the link, you will find that it is a different link than the rest of the link.

If you view the source of this line, you'll see:

<a href="http://hermes.afaa.asso.fr/users/pascal/linux/rpm-rebuilddb" target="_top">An FAQ re rebuilding the <a href="/cgi-bin/view/Wikilearn/RPM">RPM</a> database</a>

It seems that TWiki is recognizing a link within a link -- not exactly sure why. I don't think the dangling "database" or the different link to the "RPM" is appropriate, but it's not a major problem either.

Clearly, by using as many forced links as I do, I am pushing TWiki beyond its design intent. If I were redesigning TWiki, I'd do something different here.

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

-- RandyKramer - 29 Mar 2002

Answer

I've noticed this bug a few times, and it should be fixed. There's a similar issue with recognising WikiWords within TOC links as well.

Using forced links is important and I use them all the time in our local TWiki, so carry on pushing the envelope!

In fact, why not copy or move this topic into a BugReport, so it's easier to track?

-- RichardDonkin - 29 Mar 2002

Ok! I'm copying rather than moving it because I do not have rename/move privileges. Will become LinkWithinALink.

-- RandyKramer - 30 Mar 2002

Now fixed in TWikiAlphaRelease, see CVS:lib/TWiki.pm, rev 1.129. The TOC bug was fixed some time back, although I do find the linking of ABBREVs within the actual headings a bit unsightly...

-- RichardDonkin - 30 Mar 2002

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2002-03-30 - 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.