[openstreetmap/openstreetmap-website] Integrate human-readable wikidata browser plugin (PR #6127)

Minh Nguyễn notifications at github.com
Mon Jul 21 19:25:44 UTC 2025


@1ec5 commented on this pull request.



> @@ -1,10 +1,18 @@
 (function () {
+  let abortController = null;
+  const languagesToRequest = [...new Set([...OSM.preferred_languages.map(l => l.toLowerCase()), "mul", "en"])];

@lucaswerkmeister [suggested](https://wikis.world/@LucasWerkmeister/114876146945706671) passing in `languagefallback=1` instead of manually requesting a list of languages. I believe it would cause the response to use MediaWiki’s internal [language fallback chain](https://meta.wikimedia.org/wiki/Wikidata/Notes/Language_fallback) rather than the OSM setting or browser setting. @hlfan would it be a better match for the intended behavior here?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6127#pullrequestreview-3039419713
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6127/review/3039419713 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250721/ef523907/attachment.htm>


More information about the rails-dev mailing list