[openstreetmap/openstreetmap-website] No brand:wikidata description when the app doesn't know what language to use (Issue #7075)
Pablo Brasero
notifications at github.com
Fri May 8 17:31:19 UTC 2026
pablobm created an issue (openstreetmap/openstreetmap-website#7075)
### URL
https://www.openstreetmap.org/node/12771999286
### How to reproduce the issue?
I'm seeing an issue in elements with a `brand:wikidata`, on Firefox, when *not logged in*.
In this case, Firefox is not sending an `Accept-Language` header. Since it doesn't have anything else to go with, it doesn't set a `data-preferred-languages` in the `<head>` element. Later on, when we request wikidata info, we don't know what language `description` to choose, end up not choosing anything. As a result, we get things like this:
<img width="407" height="147" alt="Image" src="https://github.com/user-attachments/assets/405c4a6a-d2b2-45f1-a16c-60ea1995f085" />
When in other browsers, in similar circumstances, the description is available:
<img width="395" height="148" alt="Image" src="https://github.com/user-attachments/assets/d915bd5b-cb53-482c-9f28-e8e0096894d8" />
### Screenshot(s) or anything else?
_No response_
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/7075
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/7075 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260508/6f6e612b/attachment.htm>
More information about the rails-dev
mailing list