From: Joey Hess Date: Fri, 19 Dec 2008 19:07:22 +0000 (-0500) Subject: rename comments_form to editcomment X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/79a787a4668caf043862197de2b5ba7e41d37102 rename comments_form to editcomment --- diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm index 705ba340b..a155712fb 100644 --- a/IkiWiki/Plugin/comments.pm +++ b/IkiWiki/Plugin/comments.pm @@ -281,7 +281,7 @@ sub sessioncgi ($$) { action => $config{cgiurl}, header => 0, table => 0, - template => scalar IkiWiki::template_params('comments_form.tmpl'), + template => scalar IkiWiki::template_params('editcomment.tmpl'), # wtf does this do in editpage? wikiname => $config{wikiname}, ); diff --git a/doc/wikitemplates.mdwn b/doc/wikitemplates.mdwn index 63735193b..dc217cd30 100644 --- a/doc/wikitemplates.mdwn +++ b/doc/wikitemplates.mdwn @@ -31,7 +31,7 @@ located in /usr/share/ikiwiki/templates by default. [[plugins/search]] plugin. * `comment.tmpl` - This template is used to display a comment by the [[plugins/comments]] plugin. -* `comments_form.tmpl` - This template is the comment post form for the +* `editcomment.tmpl` - This template is the comment post form for the [[plugins/comments]] plugin. The [[plugins/pagetemplate]] plugin can allow individual pages to use a diff --git a/templates/comments_form.tmpl b/templates/editcomment.tmpl similarity index 94% rename from templates/comments_form.tmpl rename to templates/editcomment.tmpl index 9a9455f99..a08b8964c 100644 --- a/templates/comments_form.tmpl +++ b/templates/editcomment.tmpl @@ -1,4 +1,4 @@ -
+
@@ -31,4 +31,4 @@ IkiWiki directives ([[!directive]]) are not
-
+