@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/3039419...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev