Wikipedia:CamelCase and Wikipedia

From Wikipedia, the free encyclopedia

Wikipedia originally used CamelCase links, but in February 2001 enabled and recommended free links, by putting [[square brackets]] around phrases to be linked.

A year later, with the introduction of the new Wikipedia software in January 2002, support for the automatic linking of CamelCase links was dropped altogether. On 25 February, 2002 an automated conversion script was run to convert CamelCase names to new-style names, although by this time almost all CamelCase links in articles had been removed anyway.

CamelCase can still be found in the non-encyclopedia parts of Wikipedia, such as Talk pages, where the links have not been updated. Many Wikipedians have CamelCased user names, either as a leftover from the early days, or carried over from other wikis.

[edit] Historical details

On January 27, 2001, Clifford Adams, the programmer of UseModWiki, the wiki engine originally used for Wikipedia, posted the following to the Wikipedia mailing list:

I've done a lot of thinking about WikiLinking recently, and I'm not sure that the WikiName (capital letters) convention is a good fit for the encyclopedia. The AccidentalLinking is a nice feature, but it has a price in harder-to-read links and confusing conventions.
For instance, when I recently wanted to link to "democracy", I first did a search to see if someone else had linked the name (I thought someone might have already used "DemoCracy"). I found that nobody else had linked that name, so I made the link "DemocracY" (to follow the new convention of last-letter-capitalized). In short, it took me far more time to make that link than it would have to just type [[democracy]]. Someone unfamiliar with the local wiki conventions might guess otherwise on another page and link to a separate "DemoCracy" or even "DeMocracy". Ick.
To make a longish story short, I added code (about 150 new lines of Perl) to my development copy to allow (site-optional) "Free" linking within [[double brackets]]. You can use spaces, numbers, commas, dashes, and the period character in these kinds of links. Valid link names include [[George W. Bush]], [[China-Soviet Relations]], [[Physics]], [[music]], and [[Year 2000 bug]]. User names can also use these new links. Internally and within URLs the spaces are replaced with _ (underline) characters, which are translated back to spaces for display purposes.

[edit] See also