Item talk:Q335

From OpenStreetMap Wiki
Jump to navigation Jump to search

Note that is not matching as highway=* is used also for paths, cycleways and so on Mateusz Konieczny (talk) 13:50, 24 November 2021 (UTC)

Maybe Q83620? --Discostu36 (talk) 17:47, 24 November 2021 (UTC)
@Mateusz Konieczny and Discostu36: Or highway (Q269949)? – Minh Nguyễn 💬 20:41, 24 November 2021 (UTC)
@Mateusz Konieczny and Minh Nguyen: As the key is also used on nodes for infrastructure on or at highways, I guess there is no matching Wikidata item. --Discostu36 (talk) 22:02, 24 November 2021 (UTC)
@Discostu36: That's a good point. I added highway=* to Homonymous keys, which is one way to track keys that have no one-to-one mapping to real-world concepts. I guess if we really needed to, we could devise some qualifiers to indicate that nuance, or we could even create a Wikidata item to represent the OSM highway=* key in all its complexity. But it's probably of little practical value, since each of the values can already have its own Wikidata concept (P12) statement. – Minh Nguyễn 💬 00:29, 25 November 2021 (UTC)
It may be more useful to have property "no matching wikidata item" - though anyway, most keys have no matching to wikidata entries Mateusz Konieczny (talk) 10:28, 25 November 2021 (UTC)
@Mateusz Konieczny: That's fine as a temporary measure until a Wikidata item is added, if ever. Wikibase has a built-in representation for that: you can click the snak type icon and choose "No value" from the dropdown. Done in Special:Diff/2222618. – Minh Nguyễn 💬 17:55, 26 November 2021 (UTC)
@Minh Nguyen: exploded "Lua error in Module:DescriptionFromDataItem at line 213: attempt to index local 'datavalue' (a nil value).", so I reverted this edit Mateusz Konieczny (talk) 18:15, 26 November 2021 (UTC)
@Mateusz Konieczny: Thanks, I fixed the module. Let me know if anything else breaks from a missing no-value or some-value check. – Minh Nguyễn 💬 19:17, 26 November 2021 (UTC)
@Minh Nguyen:The Search Wikidata links are still there after the change to the property.--Andrew (talk) 21:04, 27 November 2021 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── @Wynndale: There's a proposal to remove this link from the infobox templates altogether. For now, "no value" is being treated the same as having no statement about Wikidata. Would it be better to explicitly display "no Wikidata item" on the infobox? That could be confusing out of context. – Minh Nguyễn 💬 21:13, 27 November 2021 (UTC)

Nothing urgent right now. --Andrew (talk) 21:27, 27 November 2021 (UTC)