Both sides previous revision
Previous revision
|
Last revision
Both sides next revision
|
camelcase [2018/11/15 22:57] splitbrain [Example] |
camelcase [2018/11/18 13:26] splitbrain |
===== CamelCase ===== | ====== CamelCase ====== |
| |
==== What is it? ==== | Some wikis support [[http://en.wikipedia.org/wiki/Camelcase|CamelCase]]. This means that words start with a capital letter and have another capital letter withing the word (like the two Cs in "CamelCase") will automatically be converted into links. |
| |
Some wikis support " [[http://en.wikipedia.org/wiki/Camelcase|CamelCase]] . According to Meatball Wiki, CamelCase originated from the fact that Ward Cunningham's original WikiWiki, the PortlandPatternRepository was a place for developers to discuss software design patterns, and object-oriented programming languages use CamelCase for class names: "For people from this background, their brains automatically read CamelCase as a type loaded with the connotations that we build into that type, which seems rather appropriate for a Patterns-esque wiki." | According to Meatball Wiki, CamelCase originated from the fact that Ward Cunningham's original WikiWiki, the PortlandPatternRepository was a place for developers to discuss software design patterns, and object-oriented programming languages use CamelCase for class names: "For people from this background, their brains automatically read CamelCase as a type loaded with the connotations that we build into that type, which seems rather appropriate for a Patterns-esque wiki. |
| |
==== Usage ==== | ===== Usage ===== |
| |
CamelCase may be confusing to some users, especially when typing web 2.0-style words, e.g. "LinkedIn" which unintentionally become links. The remedy is to have an easy-to-find icon to toggle the link behind such words. Some users might consider it hurts the readability of pages, while others see it as a great way to build links between pages and provide information about the linked terms. | CamelCase may be confusing to some users, especially when typing web 2.0-style words, e.g. "LinkedIn" which unintentionally become links. The remedy is to have an easy-to-find icon to toggle the link behind such words. Some users might consider it hurts the readability of pages, while others see it as a great way to build links between pages and provide information about the linked terms. |
While allowing CamelCase to become **WikiWords** (and as such, links) is generally useful, it is best to have multiple options to create a link. Free linking is also valuable, as is the case in MediaWiki and the more traditional WYSIWIG of selecting word(s) then clicking on an icon or button to create a link. | While allowing CamelCase to become **WikiWords** (and as such, links) is generally useful, it is best to have multiple options to create a link. Free linking is also valuable, as is the case in MediaWiki and the more traditional WYSIWIG of selecting word(s) then clicking on an icon or button to create a link. |
| |
==== Example ==== | ===== Example ===== |
| |
Several patterns on this site, including [[WikiGnome|WikiGnome]] , [[WikiTroll|WikiTroll]] , [[WikiZenMaster|WikiZenMaster]] , [[Maintainer|Maintainer]] , and [[IdentityMatters|IdentityMatters]] have CamelCase names. However even though DokuWiki (which powers this site) supports it, CamelCase linking is deactivated by default and is not enabled here either. | Several patterns on this site, including [[WikiGnome]], [[WikiTroll]], [[WikiZenMaster]] and [[IdentityMatters]] have CamelCase names. |
| |
==== Related Patterns ==== | However automatic CamelCase linking is not enabled on this site, so the word still have to be explicitly linked. |
| |
==== Further Reading ==== | ===== Related Patterns ===== |
| |
| ===== Further Reading ===== |
| |
* [[http://en.wikipedia.org/wiki/CamelCase|CamelCase @ Wikipedia]] | * [[http://en.wikipedia.org/wiki/CamelCase|CamelCase @ Wikipedia]] |