CamelCase: Difference between revisions

787 bytes added ,  13 September 2014
update
(update)
Line 1: Line 1:
'''CamelCase''' is the archaic term identifying the ability to link to another page on early [[wiki]]s by removing the space between two (or more) words which began with capital letters.  At the time, it was a revolutionary way of thinking of technology — ''"What is the simplest thing we can do to make this work?"'' — to paraphrase [[WardCunningham]].  CamelCase is very important for 'LinkLanguage' — that is writing and adding links easily to your writing.  Ward has commented that instead of adding 10 characters to make a link, he took away one.  [[JohnAbbe]] pointed out that you have to shift (on the keyboard) for each word capitalized.
{{TOCright}}
'''CamelCase''', originally known as '''WikiWords''', and gramatically known as medial capitals, is the archaic term identifying the ability to link to another page on early [[wiki]]s by removing the space between two (or more) words which began with capital letters.  At the time, it was a revolutionary way of thinking of technology — ''"What is the simplest thing we can do to make this work?"'' — to paraphrase [[WardCunningham]].  CamelCase is very important for 'LinkLanguage' — that is: writing and adding links easily to your writing.  Ward has commented that instead of adding ten characters to make a link, he took away one.  [[JohnAbbe]] pointed out that you have to shift (on the keyboard) for each word capitalized.


Moving forward into todays' 'wiki world', the [[:Category:MediaWiki|MediaWiki]] wiki engine was developed from [[UseModWiki]], and because it was developed for an [[:Category:Encyclopedia|encyclopedia]], where proper spelling, word spacing and grammar are of high importance, the use of CamelCase to create internal links was phased out and is deprecated in MediaWiki.  In order to create an internal link, one must enclose the wanted link in double square brackets — <code><nowiki>[[]]</nowiki></code>.  This became colloquially known as a '[[wikilink]]', and has now been accepted by all subsequent [[:Category:Wiki Engine|wiki engines]] as the de-facto standard of creating internal links.
==Modern {{tag|wiki syntax}}==
Moving forward into todays' '[[Wikisphere|wiki world]]', the [[:Category:MediaWiki|MediaWiki]] wiki engine was developed from [[:Category:UseModWiki|UseModWiki]]; and, because it was developed for an [[:Category:Encyclopedia|encyclopedia]], where proper spelling, word spacing and grammar are of high importance; the use of CamelCase to create internal links was phased out and is deprecated in MediaWiki.  In order to create an internal link, one must enclose the wanted link in double square brackets — <code><nowiki>[[]]</nowiki></code>.  This became colloquially known as a '[[wikilink]]', and has now been accepted by all subsequent [[:Category:Wiki Engine|wiki engines]] as the de-facto standard of creating internal links.


Likewise, [[WikiIndex]] (which also runs on MediaWiki) does <u>not</u> (and can not) use CamelCase to <u>create links</u>.  There is, however, some sentiment (and practice) that CamelCase should be used on WikiIndex when creating [[Special:Categories|categories]] or [[:Category:Templates|templates]] which contain two or more words, such as [[:category:LoginToEdit]] or [[template:MultilingualMain]].  Unfortunately, in some cases, neither convention is consistently followed, even among subcategories of the same category!  It may be observed here on WikiIndex that our founding fathers still have an unrelenting favour for the use of CamelCase; whilst to some of the newer, younger WikiIndex folk, CamelCase might seem like a foreign language!
Likewise, [[WikiIndex]] (which also runs on MediaWiki) does <u>not</u> (and can not) use CamelCase to <u>create links</u>.  There is, however, some sentiment (and practice) that CamelCase should be used on WikiIndex when creating [[Special:Categories|categories]] or [[:Category:Templates|templates]] which contain two or more words, such as [[:category:LoginToEdit]] or [[template:MultilingualMain]].  Unfortunately, in some cases, neither convention is consistently followed, even among subcategories of the same category!  It may be observed here on WikiIndex that our founding fathers still have an unrelenting favour for the use of CamelCase; whilst to some of the newer, younger WikiIndex folk, CamelCase might seem like a foreign language!


Note that for those wikis which ''can'' utilise CamelCase links, the feature will create inadvertent links with phrases that have internal capital letters, such as Paul McCartney (turning his surname into a wikilink).
==Problems with CamelCase==
It should be noticed from the lead paragraph that CamelCase links can only work on [[:Category:Wiki Language|written languages]] based on Roman text, which use upper- (capital) and lower-case letters.  Non-Roman texts, such as arabian, indian and asian texts (which don't use capital letters) would not be able to use CamelCase.  Another problem with CamelCase, as displayed, is that it can cause inaccuracies, or even failures when using online translators to translate, say [[:Category:Wiki English|English]] texts using CamelCase into other languages, even those using Roman text.  Furthermore, for those wikis which ''can'' utilise CamelCase links, the feature will create inadvertent links with phrases that have internal capital letters, such as Paul McCartney (turning his surname into a [[wikilink]]).


;External links
==External links==
*[[MeatBall:CamelCase|CamelCase]] at [[Meatball Wiki]]
*[[MeatBall:CamelCase|CamelCase]] at [[Meatball Wiki]]
*[http://www.wikimatrix.org/wiki/feature:camelcase CamelCase] on [[WikiMatrix]]
*[http://www.wikimatrix.org/wiki/feature:camelcase CamelCase] on [[WikiMatrix]]