[Home]WikiBugs/InvalidLinkGenerated

UseModWiki | WikiBugs | RecentChanges | Preferences

Where a piece of text contains a slash "/" it can be confused for a subpage link, eg

sometext/Capital?

I don't believe a link should be generated in the above case.

Compare with
sometext/lower

sometext/CamelCase?

also
Sometext/Capital?

Sometext/lower

Sometext/CamelCase?

 :and
SomeText/lower

SomeText/Capital?

SomeText/CamelCase?

This confusion is the result of the old-style Wiki method of "automatically" recognizing links. My personal preference is to turn off automatic linking (which is an option in the wiki configuration), and just use "Free Links" like [[Free Links]]. Alternately, you could just turn off the SubPage feature if you don't use it.

This particular problem will probably go away in the next release of UseModWiki. The current development code requires a "word break" before any automatically-recognized links. --CliffordAdams

I experimented with the "word break" requirement mentioned above, but found that it breaks a common subpage feature very badly (subpage links like /InvalidLinkGenerated no longer work). I still don't consider this to be a bug--the wiki parser rules occasionally have unintended consequences. There are several workarounds for this problem (the simplest being to use nowiki tags around unwanted links), so it will not change in 1.0. --CliffordAdams


UseModWiki | WikiBugs | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited March 28, 2005 11:34 pm by MarkusLude (diff)
Search: