]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/postcomment.pm
Rename smcvpostcomment plugin to postcomment to propose for inclusion
[ikiwiki.git] / IkiWiki / Plugin / postcomment.pm
similarity index 98%
rename from IkiWiki/Plugin/smcvpostcomment.pm
rename to IkiWiki/Plugin/postcomment.pm
index 22958c84aa900f40c28e99da4901c2e0c095ac49..480ca58a5a15550b1a4c32dde87268c9cd6abbd0 100644 (file)
@@ -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);