summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-16 12:58:54 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-16 12:58:54 -0400
commite772c5527b534976f19364b380e05bfe0bd31426 (patch)
treee6aeba3e06ef574ce3d89e26a7757e589e144a10
parent3cedbc3b65cfa5e2c802da0e92eca716dda13bb8 (diff)
merge duplicate bug into original
note behavior change, also that presense dependencies could let this be fixed now
-rw-r--r--doc/bugs/broken_parentlinks.mdwn21
-rw-r--r--doc/bugs/non-existing_pages_in_parentlinks.mdwn5
2 files changed, 21 insertions, 5 deletions
diff --git a/doc/bugs/broken_parentlinks.mdwn b/doc/bugs/broken_parentlinks.mdwn
index caf1eeb0e..f8f96b6ca 100644
--- a/doc/bugs/broken_parentlinks.mdwn
+++ b/doc/bugs/broken_parentlinks.mdwn
@@ -19,6 +19,10 @@ example/*!
ikiwiki doesn't have a way to represent this dependency and can't get one
without a lot of new complex code being added.
+> Note that this code has now been added. In new terms, example/* has a
+> presence dependency on example. So this bug is theoretically fixable now.
+> --[[Joey]]
+
For now the best thing to do is to make sure that you always create
example if you create example/foo. Which is probably a good idea anyway..
@@ -27,3 +31,20 @@ example if you create example/foo. Which is probably a good idea anyway..
Note that this bug does not exist if the wiki is built with the "usedirs"
option, since in that case, the parent link will link to a subdirectory,
that will just be missing the index.html file, but still nicely usable.
+--[[Joey]]
+
+----
+
+<http://www.gnu.org/software/hurd/hurd/translator/writing.html> does not exist.
+Then, on
+<http://www.gnu.org/software/hurd/hurd/translator/writing/example.html>, in the
+*parentlinks* line, *writing* links to the top-level *index* file. It should
+rather not link anywhere at all. --[[tschwinge]]
+
+> So, the bug has changed behavior a bit. Rather than a broken link, we get
+> a link to the toplevel page. This, FWIW, is because the template now
+> uses this for each parentlink:
+
+ <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>/
+
+> Best workaround is still to enable usedirs. --[[Joey]]
diff --git a/doc/bugs/non-existing_pages_in_parentlinks.mdwn b/doc/bugs/non-existing_pages_in_parentlinks.mdwn
deleted file mode 100644
index b4ea42b17..000000000
--- a/doc/bugs/non-existing_pages_in_parentlinks.mdwn
+++ /dev/null
@@ -1,5 +0,0 @@
-<http://www.gnu.org/software/hurd/hurd/translator/writing.html> does not exist.
-Then, on
-<http://www.gnu.org/software/hurd/hurd/translator/writing/example.html>, in the
-*parentlinks* line, *writing* links to the top-level *index* file. It should
-rather not link anywhere at all. --[[tschwinge]]