From 88aa34f61bf74b723aa4a4431208c63783e834f8 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 20 Apr 2010 14:19:05 +0100 Subject: [PATCH] Update wiki link style to use the current default format --- app/helpers/browse_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/browse_helper.rb b/app/helpers/browse_helper.rb index e252e300f..48dd590a2 100644 --- a/app/helpers/browse_helper.rb +++ b/app/helpers/browse_helper.rb @@ -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 '' + h(text) + '' -- 2.39.5