summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/skeleton.pm.example
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2009-01-01 22:20:54 +0100
committerintrigeri <intrigeri@boum.org>2009-01-01 22:20:54 +0100
commita5de24ec9700c56f8945668c3647b45a7a9b71c2 (patch)
treed7aead816023e0767a84d8e6b689e0554798d9ac /IkiWiki/Plugin/skeleton.pm.example
parent09d0321f1529e53d315908567bd6b374bb572b08 (diff)
skeleton plugin: added the canrename and canremove hooks
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki/Plugin/skeleton.pm.example')
-rw-r--r--IkiWiki/Plugin/skeleton.pm.example18
1 files changed, 17 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/skeleton.pm.example b/IkiWiki/Plugin/skeleton.pm.example
index 496a4dfe4..ea7500a70 100644
--- a/IkiWiki/Plugin/skeleton.pm.example
+++ b/IkiWiki/Plugin/skeleton.pm.example
@@ -187,7 +187,23 @@ sub cansave ($$$$) {
my $cgi=shift;
my $session=shift;
- debug("skeleton plugin running in cansave")
+ debug("skeleton plugin running in cansave");
+}
+
+sub canremove ($$$) {
+ my $page=shift;
+ my $cgi=shift;
+ my $session=shift;
+
+ debug("skeleton plugin running in canremove");
+}
+
+sub canrename ($$$) {
+ my $page=shift;
+ my $cgi=shift;
+ my $session=shift;
+
+ debug("skeleton plugin running in canrename");
}
sub editcontent ($$$) {