Show Changes Show Changes
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

8/20/2008 6:21:11 AM
-217.19.191.2
8/20/2008 6:20:21 AM
-217.19.191.2
3/20/2007 1:28:57 PM
-71.42.102.106
8/29/2006 1:22:40 PM
-64.90.198.6
8/29/2006 1:22:29 PM
-64.90.198.6
List all versions List all versions

RSS feed for the FlexWiki namespace

Annoying Link Parsing Bugs
.

These are bugs:

  1. (Indigo eats the closing paran. -- this one still happens
  2. Ending in a number -- this one came back
  3. _NormalBorders -- how to link to this topic? 1
  4. Presentations.Link(federation.LinkMaker.LinkToTopic("My Special Article Title With Spaces"), "My Special Article With Spaces") -- How to link to this topic - "SPACES !!!!! ?"

These were bugs, now work:

  1. Indigo ends the link before the &
  2. Indigo drops the =1.
  3. http://fox.wikis.com/wc.dll?Wiki~WikiMacros
  4. Ending in a number
  5. with an underbar - http://under_bar.com

1 The _NormalBorders link (or any link beginning with _ for that matter) is very tricky, especially when one tries to generate this link from WikiTalk. Consider these cases which don't work:

 _NormalBorders some text that happens_to_contain_underscore

NormalBorders some text that happensto_contain_underscore

 FlexWiki._NormalBorders

FlexWiki._NormalBorders

 [FlexWiki._NormalBorders]

[FlexWiki._NormalBorders]

 "_NormalBorders":FlexWiki._NormalBorders

NormalBorders.NormalBorders

 FlexWiki.[_NormalBorders]

_NormalBorders

 wiki://_NormalBorders

wiki://_NormalBorders

This is an issue when using code like this which processes a list of topics:

 @@[namespace.GetTopicInfo("HomePage"), namespace.GetTopicInfo("JimmySieben"), namespace.GetTopicInfo("_NormalBorders")].Collect { each |[
        Tab, "* ", each.Fullname, Newline
 ]}@@

Which produces:

Is there a foolproof way to handle generating links like this from a list which won't screw up formatting? I know that I can do this

 @@[namespace.GetTopicInfo("HomePage"), namespace.GetTopicInfo("JimmySieben"), namespace.GetTopicInfo("_NormalBorders")].Collect { each |[
        Tab, "* ", Presentations.Link(federation.LinkMaker.LinkToTopic(each.Fullname), each.Name), Newline
 ]}@@

but that doesn't give quite the same result as the topic links don't contain the helpful TopicTip.

Help! -- JimmySieben [2005-09-16]

Not logged in. Log in

Welcome to the home of FlexWiki, an experimental collaboration tool, based on WikiWiki.

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics