X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/57780c37bda1af2baf10937ca1661691b2729478..3a04e96389def78bcb873a4487b85f4d75653199:/doc/todo/meta_rcsid.mdwn
diff --git a/doc/todo/meta_rcsid.mdwn b/doc/todo/meta_rcsid.mdwn
index 3e9035c81..9e112317f 100644
--- a/doc/todo/meta_rcsid.mdwn
+++ b/doc/todo/meta_rcsid.mdwn
@@ -1,6 +1,23 @@
-The following patch adds an 'rcsid' parameter to the Meta plugin, to allow inclusion
+The following patch adds an 'rcsid' parameter to the [[!taglink plugins/Meta]] plugin, to allow inclusion
of CVS/SVN-style keywords (like '$Id$', etc.) from the source file in the page template.
+> So the idea is you'd write something like:
+>
+> \[[!meta rcsid="$Id$"]]
+>
+> And this would be put at the bottom of the page or somewhere like that by
+> the template?
+>
+> I wonder if it wouldn't be just as clear to say:
+>
+> $Id$
+>
+> And then use a stylesheet to display it as desired.
+> --[[Joey]]
+
+>> That's possibly true; my reasoning was that I wanted it to be more independent
+>> of the page content, and independent of any stylesheet.
+
--- meta.pm.orig 2007-10-10 19:57:04.000000000 +0100
+++ meta.pm 2007-10-10 20:07:37.000000000 +0100
@@ -13,6 +13,7 @@
@@ -9,7 +26,7 @@ of CVS/SVN-style keywords (like '$Id$', etc.) from the source file in the page t
my %copyright;
+my %rcsid;
- sub import { #{{{
+ sub import {
hook(type => "preprocess", id => "meta", call => \&preprocess, scan => 1);
@@ -110,6 +111,9 @@
$meta{$page}.="\n";
@@ -31,4 +48,4 @@ of CVS/SVN-style keywords (like '$Id$', etc.) from the source file in the page t
if ($page ne $destpage &&
((exists $license{$page} && ! exists $license{$destpage}) ||
-[[patch]]
\ No newline at end of file
+[[patch]]