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

Tom Hughes notifications at github.com
Wed May 13 13:35:32 UTC 2015

To summarise, and ignoring all the irrelevant confusion about umlauts, and the various accidental modifications of unrelated bits of the URL in the initial report, the problem is that we generate this link:


when we need to generate:


with an underscore in the anchor component, because mediawiki requires spaces to be translated to underscore for the anchor name when multiple words are used in a section heading.

The question is, is this really a bug in the web site core? or is the data in the database wrong? It seems that `de:Englischer Garten (München)#Japanisches Teehaus` is not really the right reference and it should be `de:Englischer Garten (München)#Japanisches_Teehaus`.

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/20150513/da367a90/attachment.html>

More information about the rails-dev mailing list