----- Original Message -----
From: "Brion Vibber" <brion(a)pobox.com>
To: "Wikimedia developers" <wikitech-l(a)wikimedia.org>
Subject: Re: [Wikitech-l] Parsing database dumps
Date: Thu, 28 Sep 2006 13:50:07 -0700
Those particular page titles are in the main (article) namespace, which has no
prefix:
<namespace key="0" />
[snip]
<title>AaA</title>
[snip]
> <title>AlgeriA</title>
OK, thanks, that makes sense. I nearly made a leap to that assumption but then thought
I'd better not without really understanding. So are you saying that if there's no
colon in the title it's safe the assume that they go in namespace 0. And if there is a
colon then I need to parse to see if text before a colon matches a namespace, and if it
doesn't then the colon is just part of the article title ?
Mike O
--
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at
http://www.opera.com
Powered by Outblaze