diff options
author | chrysn <chrysn@fsfe.org> | 2014-07-13 16:53:27 +0200 |
---|---|---|
committer | chrysn <chrysn@fsfe.org> | 2014-07-13 16:54:24 +0200 |
commit | d8b70fa39b371739b90fa1c907718f39315ad6e1 (patch) | |
tree | 50bfe6e967d38680be0e9c26d28def1f4e7d28fa /doc/bugs | |
parent | 7bfd3b087dbb10a18b009c575a464d60475f681b (diff) | |
download | ikiwiki-d8b70fa39b371739b90fa1c907718f39315ad6e1.tar ikiwiki-d8b70fa39b371739b90fa1c907718f39315ad6e1.tar.gz |
phases are a good idea
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/template_creation_error.mdwn | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/bugs/template_creation_error.mdwn b/doc/bugs/template_creation_error.mdwn index d3c0bcca5..d1fb788f5 100644 --- a/doc/bugs/template_creation_error.mdwn +++ b/doc/bugs/template_creation_error.mdwn @@ -261,4 +261,10 @@ same logic as IkiWiki itself. I don't think that's serious. --[[smcv]] >>>> an error to invoke scan in the render phase; that would mean that >>>> `readtemplate` needs to check whether it's invoked as a scan or not to >>>> decide whether to scan the template page, but would be generally more ->>>> robust for future plugin writing. --[[chrysn]] +>>>> robust for future plugin writing. +>>>> +>>>> **addendum**: if the new phase state is used to create warnings/errors +>>>> about improper ikiwiki api use of plugins (which is something i'd +>>>> advocate), that should likewise warn if `add_link` actually adds a link in +>>>> the render phase. such a warning would have helped spotting the +>>>> link-related [[template evaluation oddities]] earlier. --[[chrysn]] |