Index: /applications/editors/josm/plugins/public_transport/build.xml
===================================================================
--- /applications/editors/josm/plugins/public_transport/build.xml	(revision 20075)
+++ /applications/editors/josm/plugins/public_transport/build.xml	(revision 20076)
@@ -85,5 +85,5 @@
                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
                 <attribute name="Plugin-Description" value="This plugin simplifies the mapping and editing of public transport routes."/>
-                <attribute name="Plugin-Link" value="http://svn.openstreetmap.org/applications/editors/josm/plugins/public_transport/resources/public_transport.html"/>
+                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/public_transport"/>
                 <attribute name="Plugin-Mainversion" value="2907"/>
                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
Index: /applications/editors/josm/plugins/public_transport/resources/html2wiki.awk
===================================================================
--- /applications/editors/josm/plugins/public_transport/resources/html2wiki.awk	(revision 20076)
+++ /applications/editors/josm/plugins/public_transport/resources/html2wiki.awk	(revision 20076)
@@ -0,0 +1,30 @@
+{
+  buf = $0;
+  result = "";
+  match_idx = match(buf, "\<a id=\"[^\"]*\"\/\>");
+  while (match_idx > 0)
+  {
+    result = result substr(buf, 0, match_idx);
+    result = result "<span id=\"" substr(buf, match_idx+7, RLENGTH-10) "\"></span>";
+    buf = substr(buf, match_idx+RLENGTH);
+    match_idx = match(buf, "\<a id=\"[^\"]*\"\/\>");
+  };
+  result = result buf
+
+  buf = result;
+  result = "";
+  match_idx = match(buf, "\<a href=\"[^\"]*\"\>");
+  while (match_idx > 0)
+  {
+    result = result substr(buf, 0, match_idx);
+    result = result "[[" substr(buf, match_idx+9, RLENGTH-11) "|";
+    buf = substr(buf, match_idx+RLENGTH);
+    match_idx = match(buf, "\<\/a\>");
+    result = result substr(buf, 0, match_idx);
+    result = result "]]";
+    buf = substr(buf, match_idx+RLENGTH);
+    match_idx = match(buf, "\<a href=\"[^\"]*\"\>");
+  };
+  result = result buf
+  print result;
+}
Index: /applications/editors/josm/plugins/public_transport/resources/public_transport.html
===================================================================
--- /applications/editors/josm/plugins/public_transport/resources/public_transport.html	(revision 20075)
+++ /applications/editors/josm/plugins/public_transport/resources/public_transport.html	(revision 20076)
@@ -298,5 +298,5 @@
 <a id="subsection.itinerary.sort"/>
 <h4>Button <em>Sort</em></h4>
-If one or more <a href="#notion.entry">entries</a> are marked, all marked <a href="#notion.way">entries</a> are sorted. I.e. their order and role is changed such that they form a continuous <a href="#notion.itinerary">itinerary</a>. If this is not possible, the plugin tries to construct long continuous sequences of sections. If no <a href="#notion.entry">entries</a> are <a href="#notion.select">marked</a>, the <a href="#<a href="#notion.way">">entire list</a> is sorted.
+If one or more <a href="#notion.entry">entries</a> are marked, all marked <a href="#notion.entry">entries</a> are sorted. I.e. their order and role is changed such that they form a continuous <a href="#notion.itinerary">itinerary</a>. If this is not possible, the plugin tries to construct long continuous sequences of sections. If no <a href="#notion.entry">entries</a> are <a href="#notion.select">marked</a>, the <a href="#subsection.itinerary.list">entire list</a> is sorted.
 
 <a id="subsection.itinerary.reflect"/>
