[OSM-talk] Wikibase items instead of usual templates for wiki pages?

Joseph Eisenberg joseph.eisenberg at gmail.com
Mon Jun 10 12:30:53 UTC 2019


> A potential benefit of data items is that language-independent
information does not need to be manually copied to each translation.

But right now, instead of just checking the English page and the
translated page (eg Bahasa Indonesia), I have to check the English
page, the wikibase data item, and the Bahasa Indonesia page to make
sure they all match.

> The current situation with content duplicated between
data items and wiki pages isn't really ideal. But there's probably still
some work left until data items can fully replace the existing systems.

So for there to be any benefit, we would have to get rid of the
existing templates and switch to only using the wikibase data items,
correct?

I think we need to discuss if this is desired, before any more time is
spent on adding all of those data items.

-Joseph

On 6/10/19, Tobias Knerr <osm at tobias-knerr.de> wrote:
> On 09.06.19 13:59, Joseph Eisenberg wrote:
>> Has this wikibase feature been discussed and approved by the community
>> in some forum? Perhaps it happened before I was involved with OSM? I
>> don't quite understand how it works.
>
> The way it works is that every tag has a "data item". This is the one
> for natural=isthmus, for example:
>
> https://wiki.openstreetmap.org/wiki/Item:Q19327
>
> Of course, you're not expected to find this numeric URL yourself. You
> can get there from the wiki page for that tag by clicking on a "pencil"
> icon next to the description in the infobox, or by using an
> "OpenStreetMap Wiki data item" link that appears in the left-hand menu
> on every page that has a data item associated with it.
>
> The idea behind data items is actually quite similar to how templates on
> the wiki work: There is a number of possible properties that you can
> fill in with information. The properties which are currently available
> are mostly identical to the ones used by the templates: Whether the tag
> can be used on nodes/ways/..., links to related/required/implied tags,
> an image, and descriptions in various languages.
>
> If some information is omitted from a wiki page, the infobox will pull
> it in from the tag's data item. Otherwise, the information written
> directly on the page will take precedence.
>
> A potential benefit of data items is that language-independent
> information does not need to be manually copied to each translation. And
> while software like Taginfo has been able to extract information from
> the wiki for a long time, the hope is that this kind of extraction will
> eventually become easier thanks to data items.
>
> I do not believe there has been a community decision to stop adding
> information directly on wiki pages. So the other wiki contributor's edit
> was probably premature.
>
> Of course, though, the current situation with content duplicated between
> data items and wiki pages isn't really ideal. But there's probably still
> some work left until data items can fully replace the existing systems
> (updating data consumers, plus working on usability and documentation).
>
> Tobias
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>



More information about the talk mailing list