A WikiWord consists of two or more words with initial capitals, run together. WikiWords are used to refer to topics.
WikiWords refer to topics, and topic names are WikiWords. When you type a WikiWord, you create a link to that topic, or a link to create that topic if it doesn't exist yet. You type WebHome
and on saving the page this becomes WebHome. It's as easy as that.
WikiWord linking is easy to use:
WikiWords are styled like this because:
Note that acronyms are also auto-linked, but only if the topic already exists.
WikiWord syntax in Extended Backus.Naur form (EBNF):
wikiWord = upperLetters , lowerNumLetters , upperLetters , { alphaNum } ; upperLetters = upperCase , { upperCase } ; lowerNumLetters = lowerNum , { lowerNum } ; alphaNum = upperCase | lowerCase | digit ; lowerNum = lowerCase | digit ; lowerCase = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" ; upperCase = "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z" ; digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;
Sometimes you want to be able to enter a WikiWord without the automatic linking. When editing in TML, simply put an exclamation mark (!) before the word. !WikiWord WikiWord
will be displayed as WikiWord WikiWord.
When you write a WikiWord, it becomes a link. There are more ways
[[AccessControl][access control]]
- this becomes: access controlSandbox.WebSearch
- this becomes: WebSearchSandbox.Subweb.WebSearch
. [[Sandbox.WebHome]]
- this becomes: Sandbox.WebHomeFoswiki:Main/WebHome
- this becomes: Foswiki:Main/WebHome (sites are defined in the InterwikiPlugin) #MyAnchor
. You can also link to an anchor on another page: System.WebHome#MyAnchor
. !
removed): [[#Good_examples_of_WikiWords]]
becomes: #Good_examples_of_WikiWords. You can also link to a header on another page: System.WebHome#Disclaimer
becomes: WebHome#Disclaimer.FunctionalSpec
write BreadSlicerFunctionalSpec
because other projects might also have a functional spec topic. BreadSlicer1dot2
or BreadSlicer1pt2
, but not BreadSlicer1.2
. Year2K
and Y2K
WikiWords but not Y2000
and Y2k
. FaqIndex
for a "FAQ index" topic. When linking to a WebHome topic in another web, the link will be rendered as the name of the web, e.g. Sandbox.WebHome
becomes Sandbox.
Dots (.) are used as seperators between webs, subwebs, and topics. It is not possible to use dots in topic names. Foswiki does not attempt to guess if a dot could be part of a topic name.
Related Topics: TopicMarkupLanguage