aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dowland <jmtd@debian.org>2012-01-11 15:13:46 +0000
committerJon Dowland <jmtd@debian.org>2012-01-11 15:13:46 +0000
commit0278ddd6c1ba3fdfdc987aea8580b7fee452c226 (patch)
tree45f57207d9105813998674e0455411a6af42ae09
parentd3ad47829871a52c622fcb918251f72f11fec0a5 (diff)
downloadikiwiki-0278ddd6c1ba3fdfdc987aea8580b7fee452c226.tar
ikiwiki-0278ddd6c1ba3fdfdc987aea8580b7fee452c226.tar.gz
backlink(.) doesn't work
-rw-r--r--doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn6
-rw-r--r--doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn10
-rw-r--r--doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn1
3 files changed, 17 insertions, 0 deletions
diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn
new file mode 100644
index 000000000..6ec53d504
--- /dev/null
+++ b/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn
@@ -0,0 +1,6 @@
+It seems `backlink(.)` doesn't work, that is, it doesn't match pages linked
+to from the current page.
+
+[[!inline pages=test1 raw=true]]
+
+— [[Jon]]
diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn
new file mode 100644
index 000000000..7fe3d70fe
--- /dev/null
+++ b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn
@@ -0,0 +1,10 @@
+test1 links to [[test2]].
+
+`backlink(test1)`:
+
+[[!map pages="backlink(test1)"]]
+
+`backlink(.)`:
+
+[[!map pages="backlink(.)"]]
+
diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn
new file mode 100644
index 000000000..a8b76dea9
--- /dev/null
+++ b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn
@@ -0,0 +1 @@
+test2!