Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Description wiki templates & Wikidata & Taginfo #377

Closed
drmx opened this issue Oct 3, 2022 · 5 comments
Closed

Description wiki templates & Wikidata & Taginfo #377

drmx opened this issue Oct 3, 2022 · 5 comments

Comments

@drmx
Copy link

drmx commented Oct 3, 2022

Hello! The Wiki {{Key/ValueDescription}} templates allows to display a tag information box on the wiki. If the template has no parameters ({{ValueDescription}} only, no any |parameter=value) then the wiki shows full info from the wikidata, but Taginfo doesn't show anything.

For example wiki article RU:Tag:amenity=animal_shelter shows full data from Item:Q6399 (and a bit of wikidata I guess)

It would be cool if Taginfo could show in the same way. If there are parameters in the Wiki then display this data, otherwise display data from osmwikidata/Wikidata. This way we won't have different descriptions in different places.

@matkoniecz
Copy link
Contributor

matkoniecz commented Oct 3, 2022

So right now https://taginfo.openstreetmap.org/tags/amenity=animal_shelter#wiki is affected, right?

See #248

This way we won't have different descriptions in different places.

This can be also achieved by keeping description at OSM Wiki without using Data Items/Wikidata/Wikibase.

@drmx
Copy link
Author

drmx commented Oct 4, 2022

So right now https://taginfo.openstreetmap.org/tags/amenity=animal_shelter#wiki is affected, right?

exactly

This can be also achieved by keeping description at OSM Wiki without using Data Items/Wikidata/Wikibase.

yes, that should work.
I like the idea with data items. this helps to see and process all entries for a tag in one place, but not across multiple pages. The description of the tag is detailed in the article and Infoboxes are needed for unambiguously accurate data for people and programs. There are some other benefits, right?

See #248

it's closed there. I'm not talking about the rules of the wiki organization. my point is about Taginfo which doesn't show tag data right now. But the wiki page has data

@matkoniecz
Copy link
Contributor

matkoniecz commented Oct 4, 2022

But the wiki page has data

No, this data was removed from OSM Wiki page in this edit - and infobox is now fetching it from data item

Wiki page has no longer this data but displays it due to elaborate fetching it from external resource (what makes it quite hard to edit it, with data split across two places)

@drmx
Copy link
Author

drmx commented Oct 4, 2022

you're right, I didn't express myself clearly. on the visible page of the browser. not in the wikipage code.

and not so hard to edit.

Do I understand correctly that Taginfo is not flexible and advanced for the same way of working as a wiki page?

@joto
Copy link
Member

joto commented Oct 4, 2022

Duplicate of #248. Closing.

@joto joto closed this as completed Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants