]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/contrib/default_content_for___42__copyright__42___and___42__license__42__.mdwn
The plugins have been rewritten and now should function properly.
[ikiwiki.git] / doc / plugins / contrib / default_content_for___42__copyright__42___and___42__license__42__.mdwn
index 27e0ffefd75ead15575de26a1dcf32c54274469c..b4a7cd5d6857c7de39e8b9b992cd04d70a6337ba 100644 (file)
@@ -1,7 +1,7 @@
-[[template id=plugin name=copyright author="[[tschwinge]]"]]
-[[template id=plugin name=license author="[[tschwinge]]"]]
+[[!template id=plugin name=copyright author="[[tschwinge]]"]]
+[[!template id=plugin name=license author="[[tschwinge]]"]]
 
-[[meta title="default content for *copyright* and *license*"]]
+[[!meta title="default content for *copyright* and *license*"]]
 
 Someone was just asking for it and I had written these two plugins already some months ago,
 so I'm now publishing them here.
@@ -9,14 +9,6 @@ so I'm now publishing them here.
 <http://www.schwinge.homeip.net/~thomas/tmp/copyright.pm>
 <http://www.schwinge.homeip.net/~thomas/tmp/license.pm>
 
-/!\ Note that there is still an issue to be resolved with these plugins: have a look at
-[tmpfs](http://www.bddebian.com/~wiki/hurd/translator/tmpfs/).  There are two inlined pages,
-[tmpfs-notes\_bing](http://www.bddebian.com/~wiki/hurd/translator/tmpfs/notes_bing/) and
-[tmpfs-notes\_various](http://www.bddebian.com/~wiki/hurd/translator/tmpfs/notes_various/).
-Compare the *copyright* and *license* information of the inlined pages on *tmpfs* to those
-on the source pages, *tmpfs-notes_bing* and *tmpfs-notes_various*.
-They are different, but shouldn't be.
-
 --[[tschwinge]]
 
 I was asking about this in IRC the other day, but someone pointed me at the
@@ -30,3 +22,12 @@ template variable somebody wants to use.
 Copyright and license values are not "template values", they are values
 tracked by the meta plugin, and that various code compares and uses to fill
 out the templates. Something like varioki cannot do that. --[[Joey]]
+
+Somewhat more detailed usage documentation would be appreciated. I tried to setup
+those plugins with a current ikiwiki release, i.e. 2.61, but they appeared to do
+nothing, really. Also, those example pages don't seem to use those plugins, even;
+they set "copyright" and "license" properties using ordinary [[meta]] tags. Maybe
+I'm missing something terribly obvious? --[[Peter]]
+> Only obvious if you read the source :-). You need to put a file named "copyright.html"
+>(respectively "license.html") in your wiki. Everything underneath that (in the wikilink sense) will use that
+>content for the license or copyright. Saves putting \[[meta license="foo"]] in every page [[DavidBremner]]