From 586040b3d7a33305be63999e041b832d91b50c80 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 31 Aug 2008 19:10:58 -0300 Subject: [PATCH] testing configuration for postal-accept --- IkiWiki/Plugin/postal.pm | 2 +- templates/page.tmpl | 123 +++++++++++++++++++++++++++++++++++++++ test/in/comments.mdwn | 4 ++ test/test.setup | 4 +- 4 files changed, 131 insertions(+), 2 deletions(-) create mode 100644 templates/page.tmpl create mode 100644 test/in/comments.mdwn diff --git a/IkiWiki/Plugin/postal.pm b/IkiWiki/Plugin/postal.pm index 828786928..be64a3edd 100644 --- a/IkiWiki/Plugin/postal.pm +++ b/IkiWiki/Plugin/postal.pm @@ -2,7 +2,7 @@ # based on a template file and a key representing the current page # Copyright © 2007 Thomas Schwinge -# Copyright © 2008 David Bremner +# Copyright © 2008 David Bremner # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the diff --git a/templates/page.tmpl b/templates/page.tmpl new file mode 100644 index 000000000..9fe8994dc --- /dev/null +++ b/templates/page.tmpl @@ -0,0 +1,123 @@ + + + + +<TMPL_VAR TITLE> + + + + + + + + + +
+ + +/ + + + + + + +
+ + +
+ +
+
+ + + + + +
+ +
+ + + + + diff --git a/test/in/comments.mdwn b/test/in/comments.mdwn new file mode 100644 index 000000000..88e659d46 --- /dev/null +++ b/test/in/comments.mdwn @@ -0,0 +1,4 @@ + +Send Comment + +[[Read Comments|%%PAGE%%/comments]] diff --git a/test/test.setup b/test/test.setup index 96aec15d7..1737e411e 100644 --- a/test/test.setup +++ b/test/test.setup @@ -139,7 +139,7 @@ use IkiWiki::Setup::Standard { #multimarkdown => 1, # To add plugins, list them here. - add_plugins=>[qw{mailbox postal}], + add_plugins=>[qw{mailbox postal goodstuff}], #add_plugins => [qw{goodstuff search wikitext camelcase # htmltidy fortune sidebar map rst anonok}], # If you want to disable any of the default plugins, list them here. @@ -204,4 +204,6 @@ use IkiWiki::Setup::Standard { # For use with the attachment plugin, a program that returns # nonzero if its standard input contains an virus. #virus_checker => "clamdscan -", + postal_prefix=>"bremner-testwiki-", + } -- 2.26.2