aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrysn <chrysn@fsfe.org>2013-09-14 14:32:27 +0200
committerchrysn <chrysn@fsfe.org>2013-09-14 14:36:33 +0200
commit8bc02b1a10950c3bbb19757aa7368a94017dab54 (patch)
tree0dd92c9709446aff99e5deea4220076f78dabb5d
parent3c0a5691179441397f8c19a7d92c044371a0c1a3 (diff)
downloadikiwiki-8bc02b1a10950c3bbb19757aa7368a94017dab54.tar
ikiwiki-8bc02b1a10950c3bbb19757aa7368a94017dab54.tar.gz
comment on definetemplate plugin
-rw-r--r--doc/bugs/template_creation_error.mdwn22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/bugs/template_creation_error.mdwn b/doc/bugs/template_creation_error.mdwn
index f3a476427..03641dd5b 100644
--- a/doc/bugs/template_creation_error.mdwn
+++ b/doc/bugs/template_creation_error.mdwn
@@ -136,3 +136,25 @@ Please, let me know what to do to avoid this kind of error.
>> load definetemplate?
>>
>> --[[smcv]]
+
+>>> this looks like a good idea to me.
+>>>
+>>> * i'd put it in core, and add a transition for the time compatibility gets
+>>> broken, provided the transitioning system will be used in that. templates
+>>> can't be expected to just work as markdown+ikiwiki too.
+>>>
+>>> (it being in core would also solve my qualms about `section => "web"` /
+>>> `\[[!tag type/web]]`).
+>>>
+>>> * if definetemplate gets deemed core, no "use definetemplate!" notes on the
+>>> template/edittemplate pages will be required any more.
+>>>
+>>> * first i was sceptical of the approach of re-running scan to make sure the
+>>> `my %templates` is filled, but it is indeed a practical solution.
+>>>
+>>> * the name "`definetemplate`" gives me the first impression that something
+>>> is assigned (as in `#define`), but actually it highlights a region in the
+>>> file. wouldn't "`templatebody`" be a better description of the meaning of
+>>> the directive?
+>>>
+>>> --[[chrysn]]