[openstreetmap/openstreetmap-website] Remove secondary wiki prefix list (PR #7136)

Pablo Brasero notifications at github.com
Fri Jun 12 10:45:43 UTC 2026


@pablobm commented on this pull request.



> @@ -81,9 +77,9 @@ def wikipedia_links(key, value)
     return nil if %r{^https?://}.match?(value)
 
     case key
-    when "wikipedia", /^(#{SECONDARY_WIKI_PREFIXES}):wikipedia/o
-      lang = "en"

I don't understand this question. Do you mean the branch above this thread, or the branch below? From a quick lookup, I find the patterns above to be very common, while the patterns below not so much.

Or is this about the `uselang=`?

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

Message ID: <openstreetmap/openstreetmap-website/pull/7136/review/4484886556 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260612/dd93cb27/attachment.htm>


More information about the rails-dev mailing list