Escaping Tiki Wiki syntax Posted by eugklng 12 Apr 2005 03:30 UTC Anyone knows how to do it? I've got users that are publishing sample codes that have class names like 'ApplicationServerObject', but these are always displayed as a tiki page link with '?' next to it. Wondering if there's a way around it.
Posted by eugklng 12 Apr 2005 04:55 UTC > Anyone knows how to do it? I've got users that are publishing sample codes that have class names like 'ApplicationServerObject', but these are always displayed as a tiki page link with '?' next to it. Wondering if there's a way around it. Looks like I found the solution. However in general, how does one escape Wiki syntax? Say I want to output this text exactly how it looks without having 'Tiki Page Name' turning into a wiki link... 'User Tiki Page Name to create a Wiki link'
Posted by al123 12 Apr 2005 08:28 UTC > > Anyone knows how to do it? I've got users that are publishing sample codes that have class names like 'ApplicationServerObject', but these are always displayed as a tiki page link with '?' next to it. Wondering if there's a way around it. > > Looks like I found the solution. However in general, how does one escape Wiki syntax? Say I want to output this text exactly how it looks without having 'Tiki Page Name' turning into a wiki link... > > 'User Tiki Page Name to create a Wiki link' You could do that be temporarily escaping wiki syntax parsing this is done by placing at the beginning to escape parsing and at the end - to restart parsing so your example would look like ~np ~ 'User ((Tiki Page Name)) to create a Wiki link' ~/np~ Your link is now not parsed, but displayed as written. Cheers Andrew
Posted by Gary Cunningham-Lee 12 Apr 2005 07:26 UTC If you leave "Use WikiWords" unchecked on the Admin/Wiki page, then those words (with internal upper-case letters) won't automatically be shown as links. But if you do leave that box unchecked, then to make a wiki link, you have to use double parentheses around all wiki ((link names)). If you want to use WikiWords for links in general, but want some to be exceptions, then use double outward-facing parentheses around the exceptions, like ))ApplicationServerObject((. Personally, I think it's best to use the double-parentheses for wiki links rather than wiki words because there are so many terms these days with internal uppercase letters, and even hyphenated capitalized words become unintended links in wiki pages. -- Gary
Posted by eugklng 18 Apr 2005 07:47 UTC > If you leave "Use WikiWords" unchecked on the Admin/Wiki page, then those words (with internal upper-case letters) won't automatically be shown as links. But if you do leave that box unchecked, then to make a wiki link, you have to use double parentheses around all wiki ((link names)). If you want to use WikiWords for links in general, but want some to be exceptions, then use double outward-facing parentheses around the exceptions, like ))ApplicationServerObject((. > > Personally, I think it's best to use the double-parentheses for wiki links rather than wiki words because there are so many terms these days with internal uppercase letters, and even hyphenated capitalized words become unintended links in wiki pages. > > — Gary How about escaping characters like HELLO WORLD? It will appear as HELLO WORLD (Bold!)
Posted by eugklng 18 Apr 2005 07:50 UTC > > If you leave "Use WikiWords" unchecked on the Admin/Wiki page, then those words (with internal upper-case letters) won't automatically be shown as links. But if you do leave that box unchecked, then to make a wiki link, you have to use double parentheses around all wiki ((link names)). If you want to use WikiWords for links in general, but want some to be exceptions, then use double outward-facing parentheses around the exceptions, like ))ApplicationServerObject((. > > > > Personally, I think it's best to use the double-parentheses for wiki links rather than wiki words because there are so many terms these days with internal uppercase letters, and even hyphenated capitalized words become unintended links in wiki pages. > > > > — Gary > > How about escaping characters like HELLO WORLD? It will appear as HELLO WORLD (Bold!) Oopps..pls ignore my last post.