]> git.openstreetmap.org Git - rails.git/commit
browse_helper: Correctly link to wiki pages whose keys or values contain spaces
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 17 Jun 2010 13:33:01 +0000 (13:33 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 17 Jun 2010 13:33:01 +0000 (13:33 +0000)
commit4806913e18c9e860ea834e87e73eb5b083dd2efd
tree163035a9568c4b3cd001ce6c362e9ce760a33e50
parent4e809b868f33f0c8f776c8da2b1150c6cab29ef8
browse_helper: Correctly link to wiki pages whose keys or values contain spaces

The update-wiki-pages script normalizes " " to "_" (since MediaWiki
does it by design), but I didn't normalize it back in the
browse_helper.

Consequently objects with tags like "source=Isle of Man Government
aerial imagery (2001)" were never linked to the wiki correctly.
app/helpers/browse_helper.rb