]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/meta_rcsid.mdwn
fixup an implementation of the toggleable diff
[ikiwiki.git] / doc / todo / meta_rcsid.mdwn
index a09a48a641949c7ab9cd3ccf8b22f37ba1e2fd0d..9e112317f01fe4f2466d9b9652d18f04133fedb3 100644 (file)
@@ -1,9 +1,9 @@
-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$"]]
+>      \[[!meta rcsid="$Id$"]]
 > 
 > And this would be put at the bottom of the page or somewhere like that by
 > the template?
@@ -26,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}.="<link rel=\"copyright\" href=\"#page_copyright\" />\n";