[openstreetmap/openstreetmap-website] Use MediaWiki languagefallback (PR #6218)

Marwin Hochfelsner notifications at github.com
Tue Jul 22 12:25:23 UTC 2025


Following the [suggestion](https://wikis.world/@LucasWerkmeister/114876146945706671) from @lucaswerkmeister to use the `languagefallback` parameter, requesting `OSM.preferred_languages` is still required to receive language variant-specific labels and descriptions.
e.g., OSM has `pt-PT`, MediaWiki doesn't.
Thanks @1ec5 for forwarding in https://github.com/openstreetmap/openstreetmap-website/pull/6127#discussion_r2220068035!
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/6218

-- Commit Summary --

  * Use MediaWiki languagefallback
  * Generalize localization reducing function

-- File Changes --

    M app/assets/javascripts/index/element.js (13)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/6218.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6218.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/6218 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250722/8781f629/attachment.htm>


More information about the rails-dev mailing list