]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn
response
[ikiwiki.git] / doc / plugins / contrib / default_content_for___42__copyright__42___and___42__license__42__.mdwn
1 [[template id=plugin name=copyright author="[[tschwinge]]"]]
2 [[template id=plugin name=license author="[[tschwinge]]"]]
3
4 [[meta title="default content for *copyright* and *license*"]]
5
6 Someone was just asking for it and I had written these two plugins already some months ago,
7 so I'm now publishing them here.
8
9 <http://www.schwinge.homeip.net/~thomas/tmp/copyright.pm>
10 <http://www.schwinge.homeip.net/~thomas/tmp/license.pm>
11
12 /!\ Note that there is still an issue to be resolved with these plugins: have a look at
13 [tmpfs](http://www.bddebian.com/~wiki/hurd/translator/tmpfs/).  There are two inlined pages,
14 [tmpfs-notes\_bing](http://www.bddebian.com/~wiki/hurd/translator/tmpfs/notes_bing/) and
15 [tmpfs-notes\_various](http://www.bddebian.com/~wiki/hurd/translator/tmpfs/notes_various/).
16 Compare the *copyright* and *license* information of the inlined pages on *tmpfs* to those
17 on the source pages, *tmpfs-notes_bing* and *tmpfs-notes_various*.
18 They are different, but shouldn't be.
19
20 --[[tschwinge]]
21
22 I was asking about this in IRC the other day, but someone pointed me at the
23 [[Varioki|todo/varioki_--_add_template_variables___40__with_closures_for_values__41___in_ikiwiki.setup]]
24 plugin. It seems to me that it would be a better idea to have a way of defining
25 template variables in general, rather than having to add a new plugin for every
26 template variable somebody wants to use.
27
28 --[[bma]]
29
30 Copyright and license values are not "template values", they are values
31 tracked by the meta plugin, and that various code compares and uses to fill
32 out the templates. Something like varioki cannot do that. --[[Joey]]