X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7f087e18aef78ea8d1b115bed669cfd108237b47..a2a63a096b85db5a6e6d241ba93b19a6f2d4a60a:/doc/bugs/map_does_not_link_directory_for_which_a_file_also_exists.mdwn?ds=inline
diff --git a/doc/bugs/map_does_not_link_directory_for_which_a_file_also_exists.mdwn b/doc/bugs/map_does_not_link_directory_for_which_a_file_also_exists.mdwn
index bf5de2804..d197cdb6c 100644
--- a/doc/bugs/map_does_not_link_directory_for_which_a_file_also_exists.mdwn
+++ b/doc/bugs/map_does_not_link_directory_for_which_a_file_also_exists.mdwn
@@ -1,3 +1,26 @@
-[[meta title="map does not link entries which are equal to basename(current_page)"]]
+[[!meta title="map does not link entries which are equal to basename(current_page)"]]
-On , the top-level `factors` entry is not linked to the corresponding page. Looking at , this must be because the page name is the same as the entry name, and ikiwiki probably doesn't take the complete path of subpages into account.
\ No newline at end of file
+On , the top-level `factors` entry is not linked to the corresponding page. Looking at , this must be because the page name is the same as the entry name, and ikiwiki probably doesn't take the complete path of subpages into account.
+
+[[done]] --[[Joey]]
+
+I can confirm that most if the issues are fixed, but map still includes and links to pages that do not match the pagespec. The list includes entries like `tag/factors/contribute`, but that page does *not* link/is not tagged with any `factors*` tag. I have put a snapshot of the site as it was when I saw this bug at and can return to the state at any time, but I needed to move on now...
+
+--[[madduck]]
+
+That's a different issue. :-)
+
+This is really subtle and tricky. It's doing this because it
+thinks that tag/factors/contribute _does_ link to a page
+matching "tag/factors/*". That page? tag/factors/contribute/discussion!
+
+Now, tag/factors/contribute/discussion doesn't exist yet in your wiki,
+but there is a "?Discussion" pseudo-link, and that's good enough for
+ikiwiki.
+
+So, you could work around this annoying behavior with
+!link(tag/factors/*/Discussion)
+
+BTW, the testpagespec plugin is useful in debugging these kind of things.
+
+--[[Joey]]