[OSM-talk] Wikipedia POI import?
Jochen Topf
jochen at remote.org
Wed May 6 11:46:13 BST 2009
On Wed, May 06, 2009 at 11:48:02AM +0200, andrzej zaborowski wrote:
> 2009/5/6 Jochen Topf <jochen at remote.org>:
> > On Tue, May 05, 2009 at 09:14:30PM +0200, andrzej zaborowski wrote:
> >> Some notes:
> >> There's already the wikipedia=NAME tag (wikipedia=LA:NAME for
> >> non-english wikipedias, where LA=en,de...) in use in some places, so
> >> I'd recommend using that.
> >
> > Shouldn't that be
> >
> > wikipedia:LA=NAME
> >
> > ?
>
> I think wikipedia=XX:NAME was choosen because the other way you can
> add many wikipedia:XX= tags and the parsers will not have a single tag
> name to look at, also this would duplicate wikipedia's own mechanism
> for linking to different language pages (and what if the translation
I am not sure I understand your arguments. Using wikipedia:language as
key is used in OSM today in many cases. It is consistent with name:language
and other uses of :language in keys, so it makes immediate sense to
OSMers.
Also Wikipedia uses "something:" as their way of doing namespacing. But
generally not for languages, but for User pages, Special pages, Meta
pages etc. Its in the OSM wiki that we use language names in this way,
not in Wikipedia.
> in OSM is inconsistent wikipedia's own?). By linking to only one
> wikipedia article in any language, you actually link to a whole group
> of articles in all wikipedias that are connected with their
> "interlinks". I don't remember whether this was discussed here or on
> IRC.
This is true, but those interwiki links don't always exist and if they
do, they might not refer to the right page. I'd rather have the option
of adding explicit links to the pages I want to link to. Of course the
interwiki links would work as fallback.
So I think the language must be in the OSM key, not the value.
Translating this into a link is straightforward then:
wikipedia:en=London => http://en.wikipedia.org/wiki/London
With your way
wikipedia=en:London
could be misunderstood as meaning http://en.wikipedia.org/wiki/en:London
which could exist.
Jochen
--
Jochen Topf jochen at remote.org http://www.remote.org/jochen/ +49-721-388298
More information about the talk
mailing list