diff options
author | Joey Hess <joey@kitenet.net> | 2011-08-30 11:38:30 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-08-30 11:38:30 -0400 |
commit | 2c2c537dd521bbc659f0499af72ca70078d97d50 (patch) | |
tree | 3e6d42fed91f993fd2ecffb747ff8a2c42d687a9 /doc/bugs/conditional_preprocess_during_scan.mdwn | |
parent | 4af7b2c14d548beaf09f100e7fc6efc39e9c73a2 (diff) | |
parent | 2e1fa14a737312d852fd33d7c8518da01695c7da (diff) | |
download | ikiwiki-2c2c537dd521bbc659f0499af72ca70078d97d50.tar ikiwiki-2c2c537dd521bbc659f0499af72ca70078d97d50.tar.gz |
Merge branch 'master' of ssh://git.ikiwiki.info
Diffstat (limited to 'doc/bugs/conditional_preprocess_during_scan.mdwn')
-rw-r--r-- | doc/bugs/conditional_preprocess_during_scan.mdwn | 9 |
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]] |