projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6689f9
)
edittemplate: contentless dependency
author
Joey Hess
<joey@gnu.kitenet.net>
Sun, 4 Oct 2009 20:07:02 +0000
(16:07 -0400)
committer
Joey Hess
<joey@gnu.kitenet.net>
Sun, 4 Oct 2009 20:07:02 +0000
(16:07 -0400)
This one is unlikely to matter much, but yeah, it's contentless.
IkiWiki/Plugin/edittemplate.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/edittemplate.pm
b/IkiWiki/Plugin/edittemplate.pm
index 0bafc95d06d854b860e566a8c14134119d51db17..89d45072540bb78fcf40eb9a2171138bcfb70fb0 100644
(file)
--- a/
IkiWiki/Plugin/edittemplate.pm
+++ b/
IkiWiki/Plugin/edittemplate.pm
@@
-58,7
+58,7
@@
sub preprocess (@) {
$pagestate{$params{page}}{edittemplate}{$params{match}}=$link;
return "" if ($params{silent} && IkiWiki::yesno($params{silent}));
- add_depends($params{page}, $link);
+ add_depends($params{page}, $link
, content => 0
);
return sprintf(gettext("edittemplate %s registered for %s"),
htmllink($params{page}, $params{destpage}, $link),
$params{match});