1 The following patch adds an 'rcsid' parameter to the Meta plugin, to allow inclusion
2 of CVS/SVN-style keywords (like '$Id$', etc.) from the source file in the page template.
4 --- meta.pm.orig 2007-10-10 19:57:04.000000000 +0100
5 +++ meta.pm 2007-10-10 20:07:37.000000000 +0100
13 hook(type => "preprocess", id => "meta", call => \&preprocess, scan => 1);
15 $meta{$page}.="<link rel=\"copyright\" href=\"#page_copyright\" />\n";
16 $copyright{$page}=$value;
18 + elsif ($key eq 'rcsid') {
19 + $rcsid{$page}=$value;
22 $meta{$page}.=scrub("<meta name=\"".encode_entities($key).
23 "\" content=\"".encode_entities($value)."\" />\n");
25 if exists $author{$page} && $template->query(name => "author");
26 $template->param(authorurl => $authorurl{$page})
27 if exists $authorurl{$page} && $template->query(name => "authorurl");
28 + $template->param(rcsid => $rcsid{$page})
29 + if exists $rcsid{$page} && $template->query(name => "rcsid");
31 if ($page ne $destpage &&
32 ((exists $license{$page} && ! exists $license{$destpage}) ||