summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-11-17 11:16:31 +0000
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-12-11 21:14:02 +0000
commit3c9ccb406b2260c149be387508a097fe6fdb3c93 (patch)
tree44c7d4a907468a24e4178ad6de70569e03d921c1 /IkiWiki/Plugin
parentb7db3444a5d8e31bb1df60c3617f1038d93e099e (diff)
Rename smcvpostcomment plugin to postcomment to propose for inclusion
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/postcomment.pm (renamed from IkiWiki/Plugin/smcvpostcomment.pm)8
1 files changed, 4 insertions, 4 deletions
diff --git a/IkiWiki/Plugin/smcvpostcomment.pm b/IkiWiki/Plugin/postcomment.pm
index 22958c84a..480ca58a5 100644
--- a/IkiWiki/Plugin/smcvpostcomment.pm
+++ b/IkiWiki/Plugin/postcomment.pm
@@ -3,13 +3,13 @@
# Copyright © 2008 Simon McVittie <http://smcv.pseudorandom.co.uk/>
# Licensed under the GNU GPL, version 2, or any later version published by the
# Free Software Foundation
-package IkiWiki::Plugin::smcvpostcomment;
+package IkiWiki::Plugin::postcomment;
use warnings;
use strict;
use IkiWiki 2.00;
-use constant PLUGIN => "smcvpostcomment";
+use constant PLUGIN => "postcomment";
use constant PREVIEW => "Preview";
use constant POST_COMMENT => "Post comment";
use constant CANCEL => "Cancel";
@@ -358,11 +358,11 @@ sub sessioncgi ($$) { #{{{
package IkiWiki::PageSpec;
-sub match_smcvpostcomment ($$;@) {
+sub match_postcomment ($$;@) {
my $page = shift;
my $glob = shift;
- unless ($page =~ s/\[smcvpostcomment\]$//) {
+ unless ($page =~ s/\[postcomment\]$//) {
return IkiWiki::FailReason->new("not posting a comment");
}
return match_glob($page, $glob);