CamelCase: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(regrettable lack of consistency)
(more logical and chronological re-ordering of existing text)
Line 1: Line 1:
'''CamelCase''' is the term identifying the ability to link to another page on a [[wiki]] by removing the space between two (or more) words begining with capital letters.  It was a revolutionary way of thinking of technology — ''"What is the simplest thing we can do to make this work?"'' — to paraphrase [[WardCunningham]].  The [[:Category:MediaWiki|MediaWiki]] wiki engine was developed from [[UseModWiki]], and because it was developed for an encyclopedia, where proper spelling and spacing are of high importance, the use of CamelCase to create internal links was phased out and is deprecated.
'''CamelCase''' is the term identifying the ability to link to another page on early [[wiki]]s by removing the space between two (or more) words beginning 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 for each word capitalized.


Likewise, [[WikiIndex]] (which also runs on MediaWiki) does <u>not</u> use CamelCase to <u>create links</u>Instead, one must enclose the wanted link in double square brackets — <code><nowiki>[[]]</nowiki></code>.  However, there is 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.
The [[:Category:MediaWiki|MediaWiki]] wiki engine was developed from [[UseModWiki]], and because it was developed for an [[:Category:Encyclopedia|encyclopedia]], where proper spelling, spacing and grammar are of high importance, the use of CamelCase to create internal links was phased out and is deprecated in MediaWikiIn order to create an internal link, one must enclose the wanted link in double square brackets — <code><nowiki>[[]]</nowiki></code>.  This became 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.


CamelCase is very important for 'LinkLanguage' — that is writing and adding links easily to your writingWard has commented that instead of adding 10 characters to make a link, he took away one.  [[JohnAbbe]] pointed out that you have to shift for each word capitalized.
Likewise, [[WikiIndex]] (which also runs on MediaWiki) does <u>not</u> 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.


;External links
;External links
Line 10: Line 10:
*[http://everything2.com/title/CamelCase CamelCase at Everything2] – a personal commentary by StrawberryFrog and others on the history and implementation of CamelCase
*[http://everything2.com/title/CamelCase CamelCase at Everything2] – a personal commentary by StrawberryFrog and others on the history and implementation of CamelCase


[[Category:WikiIndex]]
[[Category:Glossary]]
[[Category:Glossary]]
[[Category:Terms]]
[[Category:Terms]]
[[Category:WikiConcept]]
[[Category:WikiConcept]]
[[Category:WikiIdea]]
[[Category:WikiIdea]]

Revision as of 10:57, 9 January 2014

CamelCase is the term identifying the ability to link to another page on early wikis by removing the space between two (or more) words beginning 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 for each word capitalized.

The MediaWiki wiki engine was developed from UseModWiki, and because it was developed for an encyclopedia, where proper spelling, 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 — [[]]. This became known as a 'wikilink', and has now been accepted by all subsequent wiki engines as the de-facto standard of creating internal links.

Likewise, WikiIndex (which also runs on MediaWiki) does not use CamelCase to create links. There is, however, some sentiment (and practice) that CamelCase should be used on WikiIndex when creating categories 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 subcategories of the same category.

External links