
![]() |
Show Changes |
![]() |
Edit |
![]() |
|
![]() |
Recent Changes |
![]() |
Subscriptions |
![]() |
Lost and Found |
![]() |
Find References |
![]() |
Rename |
![]() |
Administration Page |
| Search |
History
| 6/6/2005 6:07:31 PM |
| 67.18.98.36 |
| 6/6/2005 6:07:31 PM |
| 67.18.98.36 |
| 6/3/2005 7:57:36 PM |
| 67.18.98.36 |
| 6/3/2005 7:57:36 PM |
| 67.18.98.36 |
| 5/24/2005 1:22:40 PM |
| -131.107.0.102 |
![]() |
List all versions |
While I tend to prefer wiki-style links (PascalCased, that is), it's a common request from new users of any wiki that they be able to create "normal" links (ie, "My Important Page", rather than "MyImportantPage"), with the most common reason given being "it's less geeky". I've made a couple of small changes to the code on my machine to take a shot at implementing something to appease these users. Basically, the rules for creating new topics stay the same - smash the words together, you get a link. However, once the topic is actually created any reference to it will be displayed using normal spacing. Check out http://www.laneve.com/FlexWiki/ to see the end result.
Now, because I'm a fan of the standard wiki-style links, and because of my work on WikiClassPages where I wouldn't want spaces inserted into class names, I've made this feature one that can be configured per-namespace via the _ContentBaseDefinition topic. If a property called "DisplaySpacesInWikiLinks" is set to "True", you get spaces in wiki links. If set to "False", you get the standard wiki-style links. The entire site's default setting can be specified in the *.config file, as well, for those who want spaces in links for every namespace without having to set a property in each namespace. The ultimate default is "False" - standard wiki-style links - and is applied if neither a _ContentBaseDefinition property nor a *.config file setting exists.
Any comments/opinions are welcome.
-- RyanLaNeve
I think this is pretty cool. Maybe you should check it in? -- DavidOrnstein
I second that, very cool. You should definitly check it in! -- UrsMuff
This is checked-in. The FormattingTests.BehaviorTest test was failing before my one-line change, btw. Not sure what's going on there, so I didn't change anything else in an effort to get that test to pass again. -- RyanLaNeve
Hrm. I set this property in my namespace's def file and links are not showing up with spaces. Product Version: 1.0.1480.13713. Any advice?
-- KorbyParnell
You've got an old build, Korby. The current released version is 1.0.1515.42042. See FlexWikiBinaries.