]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/pagespec_relative_to_a_target.mdwn
(no commit message)
[ikiwiki.git] / doc / todo / pagespec_relative_to_a_target.mdwn
index 638cd40f79745dbc81b1a5a830962eb7afe80d86..f7b248670d10e83b4bbe99a270e47e15723983e3 100644 (file)
@@ -86,4 +86,12 @@ diff -urNX ignorepats ikiwiki/IkiWiki/Plugin/relative.pm ikidev/IkiWiki/Plugin/r
 +} #}}}
 +
 +1
-</pre>
\ No newline at end of file
+</pre>
+
+[[!tag patch]]
+
+> This looks really interesting.  It reminds me of XPath and its conditionals.
+> Those might actually work well adapted to pagespecs.  For instance, to write
+> "match any page with a child blah", you could just write *[blah] , or if you
+> don't want to use relative-by-default in the conditionals, *[./blah].
+> -- [[JoshTriplett]]