[openstreetmap/openstreetmap-website] Fully encode wikipedia tag values (PR #4887)

Anton Khorev notifications at github.com
Wed Jun 19 15:46:43 UTC 2024


> What I would prefer, is rather than u s.tr(" ", "_") is to avoid using the (mediawiki-specific) underscores

How are you going to avoid underscores in mediawiki-specific ids?

> url_encode(section)

https://en.wikipedia.org/wiki/London#Leisure_and_entertainment

vs

https://en.wikipedia.org/wiki/London#Leisure%20and%20entertainment

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

Message ID: <openstreetmap/openstreetmap-website/pull/4887/c2179014689 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240619/93e0c558/attachment.htm>


More information about the rails-dev mailing list