Difference between revisions of "CamelCase"

From WikiIndex
Jump to: navigation, search
m (Text replacement - "UseModWiki" to "UseMod Wiki")
(Tags: Mobile edit, Mobile web edit)
(grammar tweaks, additional tags & wikilinks)
Line 1: Line 1:
 
{{TOCright}}
 
{{TOCright}}
'''CamelCase''', originally known as '''WikiWords''', and grammatically known as 'medial capitals', is the archaic but historically important 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 [[Ward Cunningham]].  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.
+
'''CamelCase''', originally known as '''WikiWords''', and grammatically known as 'medial capitals', is the archaic but historically important {{tag|Terms|term}} identifying the ability to create a link to another page on early [[WhatIsWiki|wikis]] – by removing the space between two (or more) words which began with capital letters.  At the time, it was an inspired and revolutionary way of thinking for technology; ''"What is the simplest thing we can do to make this work?"'', to paraphrase [[Ward Cunningham]] (the creator of the [[wiki]]).  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.  [[John Abbe]] pointed out that you have to shift (on the keyboard) for each word capitalized.
  
 
==Modern {{tag|wiki syntax}}==
 
==Modern {{tag|wiki syntax}}==
Moving forward into todays' '[[Wikisphere|wiki world]]', the [[:Category:MediaWiki|MediaWiki]] wiki engine was developed from [[:Category:UseMod Wiki|UseMod Wiki]]; 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.
+
Moving forward into todays' '[[Wikisphere|wiki world]]', the now highly popular and ubiquitous [[:Category:MediaWiki|MediaWiki]] wiki engine was developed from [[:Category:UseMod Wiki|UseMod Wiki]]; and, because it was developed for use on an [[:Category:Encyclopedia|encyclopedia]], where proper spelling, word spacing and grammatical structure are of high importance; the use of CamelCase to create internal links was phased out, and is completely deprecated in MediaWiki.  In order to create an internal link, one must enclose the word or words of a 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 to other pages within the wiki.
  
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]] and / 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 {{tag|WikiConcept|practice}}) that CamelCase ''should'' be used here on WikiIndex when creating [[Special:Categories|categories]] and / or [[:Category:Templates|templates]] which contain two or more words; such as [[:category:LoginToEdit]] or [[template:MultilingualMain]].  Unfortunately, in some cases, neither {{tag|WikiIdea|convention}} is consistently followed, even among sub-categories of the same category!  It may be observed here on WikiIndex that our [[Founder|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!
  
 
==Problems with CamelCase==
 
==Problems with CamelCase==
Line 17: Line 17:
 
*[https://Everything2.com/title/CamelCase CamelCase at Everything2.com] — a personal commentary by StrawberryFrog and others on the history and implementation of CamelCase
 
*[https://Everything2.com/title/CamelCase CamelCase at Everything2.com] — a personal commentary by StrawberryFrog and others on the history and implementation of CamelCase
  
[[Category:WikiConcept]]
 
[[Category:WikiIdea]]
 
 
[[Category:Glossary]]
 
[[Category:Glossary]]
[[Category:Terms]]
 

Revision as of 03:28, 4 August 2018

Template:TOCright CamelCase, originally known as WikiWords, and grammatically known as 'medial capitals', is the archaic but historically important term identifying the ability to create a link to another page on early wikis – by removing the space between two (or more) words which began with capital letters. At the time, it was an inspired and revolutionary way of thinking for technology; "What is the simplest thing we can do to make this work?", to paraphrase Ward Cunningham (the creator of the wiki). 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. John Abbe pointed out that you have to shift (on the keyboard) for each word capitalized.

Modern wiki syntax

Moving forward into todays' 'wiki world', the now highly popular and ubiquitous MediaWiki wiki engine was developed from UseMod Wiki; and, because it was developed for use on an encyclopedia, where proper spelling, word spacing and grammatical structure are of high importance; the use of CamelCase to create internal links was phased out, and is completely deprecated in MediaWiki. In order to create an internal link, one must enclose the word or words of a wanted link in double square brackets: [[]]. This became colloquially known as a 'wikilink', and has now been accepted by all subsequent wiki engines as the de-facto standard of creating internal links to other pages within the wiki.

Likewise, WikiIndex (which also runs on MediaWiki) does not (and can not) use CamelCase to create links. There is, however, some sentiment (and practice) that CamelCase should be used here on WikiIndex when creating categories and / or 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 sub-categories 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!

Problems with CamelCase

It should be noticed from the lead paragraph that CamelCase links can only work on 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 do not 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 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 an unwanted wikilink).

External links