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

Yuri Astrakhan yuriastrakhan at gmail.com
Mon Jun 10 16:46:18 UTC 2019


Another big advantage is that various tools can use this information
directly from the wiki, without any 3rd party sites - i.e. iD editor gets
new localized descriptions and images the moment they are updated in the
wiki - and we could store other info like validation rules and even solve
the "presets" conflict with this technology -- by storing the presets in
the data items - community would have a direct influence on what presets
should be. (TBD)

On Mon, Jun 10, 2019 at 7:40 PM Andrew Hain <andrewhainosm at hotmail.co.uk>
wrote:

> Some more advantages:
>
> Data item descriptions can be added for tag values that have no need for
> long-form documentation separate from the key.
>
> Descriptions can be added in extra languages before anyone has the time to
> write full documentation in that language; with support from Taginfo this
> means that Map features tables can be generated automatically in all
> languages and not just English.
>
> --
> Andrew
> ------------------------------
> *From:* Joseph Eisenberg <joseph.eisenberg at gmail.com>
> *Sent:* 10 June 2019 13:30
> *To:* Tobias Knerr
> *Cc:* talk at openstreetmap.org
> *Subject:* Re: [OSM-talk] Wikibase items instead of usual templates for
> wiki pages?
>
> > 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
> >
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20190610/2f902d93/attachment.html>


More information about the talk mailing list