aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@web>2008-07-18 06:22:51 -0400
committerJoey Hess <joey@kitenet.net>2008-07-18 06:22:51 -0400
commit64295da8aff69aec7bf7fd4df6225e67c894635e (patch)
tree0a9e22bdb0cb045121b2cd27fb914735c88d3dd2
parentbb7e09b7a7aa78b9f46d366343746b485ab426b2 (diff)
downloadikiwiki-64295da8aff69aec7bf7fd4df6225e67c894635e.tar
ikiwiki-64295da8aff69aec7bf7fd4df6225e67c894635e.tar.gz
thinking loud
-rw-r--r--doc/todo/else_parameter_for_map_plugin.mdwn10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/todo/else_parameter_for_map_plugin.mdwn b/doc/todo/else_parameter_for_map_plugin.mdwn
index 2afebd608..859b027e7 100644
--- a/doc/todo/else_parameter_for_map_plugin.mdwn
+++ b/doc/todo/else_parameter_for_map_plugin.mdwn
@@ -25,3 +25,13 @@ documentation yet, I'm waiting for feedback first, but I'll do it for sure. -- [
""" else="no pages"]]
--[[Joey]]
+
+>>> I'm not convinced: the syntax you're proposing implies to duplicate
+>>> the pagespec (once in the test clause, and once in the map query), which I find
+>>> not only inelegant, which I can live with, but also tiring and unpractical:
+>>> my `else` suggestion
+>>> finds its roots in map queries with rather long pagespecs. On the other
+>>> hand, if I'm the only one using map in such a way, I can live with this
+>>> heavy duplicated syntax without bloating the map plugin with features
+>>> no-one but me needs. On the other other hand, the patch is a 3-liner.
+>>> I'm not fixed yet, I'll think about it. --[[intrigeri]]