[openstreetmap/openstreetmap-website] Fix Wikipedia tag handling to support multiple links (PR #6524)
gpap
notifications at github.com
Wed Nov 19 12:42:27 UTC 2025
@gergelypap 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]
Thanks for fixing! I'm all for the attention to detail mindset.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6524#discussion_r2541845001
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6524/review/3482499850 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251119/6849d840/attachment.htm>
More information about the rails-dev
mailing list