]> sipb.mit.edu Git - ikiwiki.git/commitdiff
same dependency problem as plugins/contrib/trail :-(
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>
Tue, 30 Aug 2011 10:20:15 +0000 (06:20 -0400)
committeradmin <admin@branchable.com>
Tue, 30 Aug 2011 10:20:15 +0000 (06:20 -0400)
doc/bugs/conditional_preprocess_during_scan.mdwn

index 896998bf8226fecee343faab3f1cdd58ac181584..baa430e199d5705cb86cd048bb570ede00e2b3b7 100644 (file)
@@ -8,3 +8,12 @@ I've written a simple [[patch]] to fix the issue, currently hosted on the
 scanif branch of my repository. The patch also passes the preview option
 back to the Ikiwiki::preprocess call, making sure that whatever is being
 reprocessed is done so in the same conditions as the original call.
 scanif branch of my repository. The patch also passes the preview option
 back to the Ikiwiki::preprocess call, making sure that whatever is being
 reprocessed is done so in the same conditions as the original call.
+
+> One problem with this is that it has the same dependency-ordering problems
+> as inline-based or pagespec-based trails with my [[plugins/contrib/trail]]
+> plugin: `if` takes a pagespec, but pagespecs aren't guaranteed to match
+> correctly until everything has been scanned (for instance, `link()` might
+> give the wrong results because a page that added or deleted a link hasn't
+> been scanned yet). If you have a clever idea for how to fix this, I'd love
+> to hear it - being able to specify a [[plugins/contrib/trail]] in terms
+> of a sorted pagespec would be useful. --[[smcv]]