[openstreetmap/openstreetmap-website] Remove secondary wiki prefix list (PR #7136)
Marwin Hochfelsner
notifications at github.com
Sun Jun 7 21:13:51 UTC 2026
@hlfan commented on this pull request.
> page_lang = Regexp.last_match(1)
title_section = Regexp.last_match(2)
else
+ return nil if lang.nil?
When no language is set in a secondary wikipedia key or value. Then we can't know if the user is referring to a specific language wikipedia or maybe just commenting.
I've also gone through some primary wikipedia tags without a language to find many false positives with the assumed english one, which is why I wanted to question this behaviour in https://github.com/openstreetmap/openstreetmap-website/pull/7136#discussion_r3366022350 too.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7136#discussion_r3370094799
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/7136/review/4445826568 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260607/625c4d11/attachment-0001.htm>
More information about the rails-dev
mailing list