Update wiki link style to use the current default format
This commit is contained in:
parent
8eead8a870
commit
88aa34f61b
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ module BrowseHelper
|
|||
|
||||
def wikify(type, key, tag, text, wiki)
|
||||
my_locale = I18n.locale
|
||||
url = "http://wiki.openstreetmap.org/index.php?title=#{wiki}&uselang=#{my_locale}"
|
||||
url = "http://wiki.openstreetmap.org/wiki/#{wiki}?uselang=#{my_locale}"
|
||||
|
||||
if type == "key"
|
||||
return '<a href="' + url + '" title="' + h(t('browse.tag_details.wiki_link.key', :key => key)) + '">' + h(text) + '</a>'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue