summaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-09-21 16:47:59 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-09-21 16:47:59 +0000
commitf5839df1ae1894bafa9de88ee0567ce411add8b4 (patch)
treed778674f79775e02f12f577531419bcee414619d /doc/bugs
parent7a5638b800d02d9646f13503060e3d3898471a2a (diff)
web commit by http://madduck.myopenid.com/
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/Map_sorts_subtags_under_a_different_tag.mdwn30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/bugs/Map_sorts_subtags_under_a_different_tag.mdwn b/doc/bugs/Map_sorts_subtags_under_a_different_tag.mdwn
new file mode 100644
index 000000000..f7f99019b
--- /dev/null
+++ b/doc/bugs/Map_sorts_subtags_under_a_different_tag.mdwn
@@ -0,0 +1,30 @@
+ikiwiki's map directive is full of surprises. I have put a snapshot of the
+site as it was when I saw the following problem at
+<http://scratch.madduck.net/web__phd.martin-krafft.net__map-bug-2.tgz> and can
+revert there any time, but I need to move on.
+
+I have a few tags starting with `a` (abridged list):
+
+> $ ls wiki/factors/tag/a*
+> [...]
+> wiki/factors/tag/active/:
+> index.html
+>
+> wiki/factors/tag/affects/:
+> contributors/ developers/ users/
+> [...]
+
+In `wiki-wc/factors/tag.mdwn`, I have a map for these tags:
+
+> [[map pages="factors/tag/*"]]
+
+and this works, except that for *whatever* reason, it actually sorts the three
+`affects/*` tags under `active`:
+
+> $ w3m -dump wiki/factors/tag/index.html | grep active -A3
+> ○ active
+> ■ contributors
+> ■ developers
+> ■ users
+
+This really blows my mind. :)