Index: trunk/src/org/openstreetmap/josm/tools/WikiReader.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/WikiReader.java	(revision 6897)
+++ trunk/src/org/openstreetmap/josm/tools/WikiReader.java	(revision 6898)
@@ -114,6 +114,4 @@
         String b = "";
         String full = "";
-        String baseurlus = baseurl.replace("https:","http:");
-        String baseurlse = baseurlus.replace("http:","https:");
         for (String line = in.readLine(); line != null; line = in.readLine()) {
             full += line;
@@ -138,6 +136,5 @@
                 b += line.replaceAll("<img ", "<img border=\"0\" ")
                          .replaceAll("<span class=\"icon\">.</span>", "")
-                         .replaceAll("href=\"/", "href=\"" + baseurlus + "/")
-                         .replaceAll("href=\"/", "href=\"" + baseurlse + "/")
+                         .replaceAll("href=\"/", "href=\"" + baseurl + "/")
                          .replaceAll(" />", ">")
                          + "\n";
