[openstreetmap/openstreetmap-website] Fix Wikipedia tag handling to support multiple links (PR #6524)

Pablo Brasero notifications at github.com
Thu Nov 20 11:13:07 UTC 2025


@pablobm commented on this pull request.



> +    links = wikipedia_links("buried:wikipedia", "en:Westminster Abbey")
+    assert_equal 1, links.length
+    assert_equal "https://en.wikipedia.org/wiki/Westminster_Abbey?uselang=en", links[0][:url]
+    assert_equal "en:Westminster Abbey", links[0][:title]

Thank you for indulging my nitpicks here :heart: 

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

Message ID: <openstreetmap/openstreetmap-website/pull/6524/review/3487211751 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251120/10aec465/attachment-0001.htm>


More information about the rails-dev mailing list