OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2018-09-28 19:01:49

nyuriks
Member
Registered: 2016-11-18
Posts: 81

Migrating {{KeyDescription}} to Wikibase

I just wrote a new {{KeyDescription}} template that combines data from the Wikibase entities with the template parameters.  The template allows gradual migration of the data from parameters into Wikibase entities, and highlights the differences.  Once switched, it will add the template to a number of tracking categories to allow us to quickly find when they do not match, so that data can be updated.   It also adds an [edit] link to each property. The edit link takes users to the entity page, where they would have to hit [edit] again to actually modify it.  (eventually there is a hope of making a JS wiki gadget that would do it in place, without leaving the page).

Once this template is in place, we can encourage 3rd party consumers of this data to switch to using wikibase directly. After giving them some time, we can simply remove the template parameters.

P.S. The {{ValueDescription}} template will be almost identical to {{KeyDescription}}, and would require minimal additional work to add it.

Offline

#2 2018-12-06 09:51:40

nyuriks
Member
Registered: 2016-11-18
Posts: 81

Re: Migrating {{KeyDescription}} to Wikibase

{{KeyDescription}} has been migrated.  The only difference is a tiny pencil edit icon next to description. If description in wiki page is different from the data item, it will also show another red pencil icon to edit the wiki page itself.

You can see all descriptions that are missing in English, but present in another language - https://wiki.openstreetmap.org/wiki/Cat … anguage_EN .  There are a few more useful tracking categories - https://wiki.openstreetmap.org/wiki/Cat … tem_issues

Offline

Board footer

Powered by FluxBB