<<Up     Contents

Wikipedia:Canonization

Redirected from Wikipedia (canonization)

Wiki Canonization is the algorithm by which the text of links (in [single] or [[double]] pair of square brackets) is converted to a URI.

Example: [[ death in   Vegas  ]] creates a link to the page Death_in_Vegas[?].


The following is old discussion relating to an old version of the software


A better strategy might be

  1. remove all accents, umlauts and other diacriticals
  2. convert all non-alphanumerics to underscores
  3. delete all leading and trailing underscores, and replace any consecutive underscores with a single underscore
  4. uppercase the first letter, and any letter that follows an underscore
  5. lowercase all characters that were not explicitly uppercased in #4


What happened finally with the wiki canonization discussed here?? The new scheme was implemented on the non-english wikis, but the new version (magnus' one) used the ols scheme. what will happen? (specially since the links and article names in the non-english wikipedias are made using the all uppercase scheme... AN


Basically, we never switched to the newest version of UseModWiki, because we never solved the problem of the namespace crunch, where "Foo Bar" and "foo bar" were distinct articles in Wikipedia but one of which would be lost in converting to the newest version of UseModWiki.

After working on the Nupedia Chalkboard, which does use the latest version of UseModWiki, as for myself, I've more or less come to the conclusion that it's rather better to have the old format, which does distinguish between upper and lower case in titles. I'm not directly responsible for the fact that Magnus' software does distinguish between upper and lower case in titles, but neither did I speak up when I noticed that it still does. Frankly, I was a bit relieved that it did, because the titles do look nicer according to the older standard. I think we'd have even more of a problem (a wetware problem) with people making links All Upper Case, since they think that'd be necessary for the link to work. --LMS


See also

wikipedia.org dumped 2003-03-17 with terodump