]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/osm_linkto__40____41___usage_breaks_map_rendering.mdwn
Merge remote-tracking branch 'spalax/calendar-autocreate'
[ikiwiki.git] / doc / bugs / osm_linkto__40____41___usage_breaks_map_rendering.mdwn
index 0c88cd7f075563a81e0753ebcd9a1453b6b1ce60..89c08b73ccc186e9eb07b32c3c1888c7f39063dc 100644 (file)
@@ -1,3 +1,5 @@
+[[!template  id=gitbranch branch=anarcat/master author="[[anarcat]]"]]
+
 Under some circumstances that remain unclear to me, the usage of `urlto()` in the revised version of the [[plugins/osm]] plugin break the map totally. The javascript console in Chromium tells me the following:
 
     GET http://mesh.openisp.ca/map/pois.kml/ 404 (Not Found)
@@ -6,8 +8,16 @@ Indeed, that URL yields a 404. The proper URL is <http://mesh.openisp.ca/map/poi
 
 ## Proposed solution
 
-The problem seems to be caused by `urlto()` being called for the `osm` directive before the generated files are registered with `will_render()` from the `waypoint` directive. Proposed patch adds a function that is called from the `preprocess` hook for both directives that registers the files.
+The problem seems to be caused by `urlto()` being called for the `osm`
+directive before the generated files are registered with `will_render()`
+from the `waypoint` directive. Proposed patch adds a function that is
+called from the `preprocess` hook for both directives that registers the
+files.
 
-[Patch to IkiWiki/Plugin/osm.pm](https://reseaulibre.deuxpi.ca/0000-Fix-incorrect-URL-pointing-to-the-generated-waypoint.patch)
+Here is a [[patch]] to IkiWiki/Plugin/osm.pm: <https://reseaulibre.deuxpi.ca/0000-Fix-incorrect-URL-pointing-to-the-generated-waypoint.patch>
 
 --[[deuxpi]]
+
+I confirm the patch works, and I added it to my master branch. --[[anarcat]]
+
+> [[applied|done]]. Thanks guys. --[[Joey]]