aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>2011-08-30 06:20:15 -0400
committeradmin <admin@branchable.com>2011-08-30 06:20:15 -0400
commit2e1fa14a737312d852fd33d7c8518da01695c7da (patch)
treeae7865ebb4a8a9fdaa0c2478ac5a163636038023 /doc/bugs
parent331c16a6054050879cc5c718e8960d704df75564 (diff)
downloadikiwiki-2e1fa14a737312d852fd33d7c8518da01695c7da.tar
ikiwiki-2e1fa14a737312d852fd33d7c8518da01695c7da.tar.gz
same dependency problem as plugins/contrib/trail :-(
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/conditional_preprocess_during_scan.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/bugs/conditional_preprocess_during_scan.mdwn b/doc/bugs/conditional_preprocess_during_scan.mdwn
index 896998bf8..baa430e19 100644
--- a/doc/bugs/conditional_preprocess_during_scan.mdwn
+++ b/doc/bugs/conditional_preprocess_during_scan.mdwn
@@ -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.
+
+> 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]]