pablobm left a comment (openstreetmap/openstreetmap-website#6397)
On quick investigation, this seems to be handled by
[app/helpers/browse_tags_helper.rb](https://github.com/openstreetmap/openstreetmap-website/blob/master/app/helpers/browse_tags_helper.rb).
The method `wikidata_links` is aware of semicolons
([code](https://github.com/openstreetmap/openstreetmap-website/blob/8bd509b7caba7b1b17ee508ae7e049938bf398ba/app/helpers/browse_tags_helper.rb#L119)),
but `wikipedia_links` is not.
Are these tags (`subject:wikipedia` and generally `*:wikipedia`) expected to
allow multiple values?
- In favour:
- It would make sense as this instance is trying to link to exactly the
same subjects as the Wikidata links, just in their Wikipedia forms.
- Against:
- As per
https://wiki.openstreetmap.org/wiki/Key:wikipedia#Secondary_languages: "In
almost all cases, a single wikipedia tag using the primary language for the
subject, as described above, is sufficient". In contrast, at
https://wiki.openstreetmap.org/wiki/Key:wikidata#Secondary_Wikidata_links we
see "In some rare cases where the subject is plural, values will be separated
by a semicolon". Neither wording is definitive, with "almost all cases" and "in
some rare cases", but only the Wikidata one mentions semicolons.
- In this specific example, the first link seems relevant ("Schleswig
plebiscite"), while I'm not sure that the second one is ("Denmark in World War
II").
This seems rare indeed, with only [107
instances](https://qlever.cs.uni-freiburg.de/osm-planet/iIuYQp) for
`subject:wikipedia` as I write these lines.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6397#issuecomment-3328314366
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/issues/6397/[email protected]>_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev