summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-07 05:53:47 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-07 05:53:47 +0000
commit4a770de3ac54c51e01ff1279f3cd869952ecc51c (patch)
tree274b45d7b45b54e4879bce2c0ebfab8bc3d6fd1d
parente22c33b4d010034c9acd55053aefb50ed4b743fb (diff)
deal with new preview parameter
-rw-r--r--IkiWiki/Plugin/meta.pm1
-rw-r--r--IkiWiki/Plugin/tag.pm1
-rw-r--r--po/ikiwiki.pot2
3 files changed, 3 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm
index 5867329af..d624757ba 100644
--- a/IkiWiki/Plugin/meta.pm
+++ b/IkiWiki/Plugin/meta.pm
@@ -37,6 +37,7 @@ sub preprocess (@) { #{{{
my $page=$params{page};
delete $params{page};
delete $params{destpage};
+ delete $params{preview};
eval q{use HTML::Entities};
# Always dencode, even if encoding later, since it might not be
diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm
index b06eadd13..7ab271622 100644
--- a/IkiWiki/Plugin/tag.pm
+++ b/IkiWiki/Plugin/tag.pm
@@ -40,6 +40,7 @@ sub preprocess (@) { #{{{
my $page = $params{page};
delete $params{page};
delete $params{destpage};
+ delete $params{preview};
foreach my $tag (keys %params) {
$tags{$page}{$tag}=1;
diff --git a/po/ikiwiki.pot b/po/ikiwiki.pot
index cf9886496..c2e013b69 100644
--- a/po/ikiwiki.pot
+++ b/po/ikiwiki.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-03-07 00:16-0500\n"
+"POT-Creation-Date: 2007-03-07 00:37-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"