CamelCase: Difference between revisions

Jump to navigation Jump to search
354 bytes added ,  12 August 2014
more info
(Explain that this isn't true on *this* wiki...)
(more info)
Line 1: Line 1:
'''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.
'''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.


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 MediaWiki.  In 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.
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.


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.
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 wikis which have CamelCase links, the feature will create inadvertent links with phrases that have internal capital letters, such as Paul McCartney (turning his surname into a link).
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).


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


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

Navigation menu