here is a real patch, mark it as such, confirm that it works.

master
https://id.koumbit.net/anarcat 2012-08-02 17:37:17 -04:00 committed by admin
parent d612589fe0
commit ee2a327285
1 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,8 @@ Indeed, that URL yields a 404. The proper URL is <http://mesh.openisp.ca/map/poi
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]] --[[deuxpi]]
I confirm the patch works. --[[anarcat]]