[openstreetmap/openstreetmap-website] Fix Wikipedia tag handling to support multiple links (PR #6524)
Pablo Brasero
notifications at github.com
Wed Nov 19 13:46:37 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. When you incorporate the changes and squash them into a single commit, I'll approve the PR :slightly_smiling_face:
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6524#discussion_r2542080552
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6524/review/3482815935 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251119/04533bce/attachment.htm>
More information about the rails-dev
mailing list