[openstreetmap-website] Clicking wikipedia-link with a section does not always work (#967)

daganzdaanda notifications at github.com
Fri May 15 10:38:36 UTC 2015

Thank you, Tom! That was quick!

I found out one more thing: Commas need to be turned into ".2C" ...


The current link does not work:

but with .2C replacing comma, it's working:

Really weird system at Wikipedia / Mediawiki. After a lot of searching, I found this explanation:
The {{anchorencode:...}} line in the table gives the substitutions that are made.
I'm guessing what we currently do with URI.encode works like the {{urlencode:...|WIKI}} line?
If so, the differences are in the following characters: `!$()*,/;@` (Nice cartoon swearing...)
I actually found a real life wikipedia link with a / inside the section anchor:

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20150515/a9589838/attachment.html>

More information about the rails-dev mailing list