summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-05-15 17:22:54 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-05-15 17:22:54 -0400
commit8a888a8fedd63622154865f0b67b3558879ae613 (patch)
tree241fb347f181cb573946b548303b184fc473e989 /IkiWiki/Plugin
parent1919d0bd8ecb507169fd4c7f516eb5f69b1db555 (diff)
inline: Display a message if the 'pages' parameter is missing, before it just expanded to nothing.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/inline.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm
index d7117b611..1fbd8b69c 100644
--- a/IkiWiki/Plugin/inline.pm
+++ b/IkiWiki/Plugin/inline.pm
@@ -102,7 +102,7 @@ sub preprocess_inline (@) { #{{{
my %params=@_;
if (! exists $params{pages}) {
- return "";
+ return "[[inline ".gettext("missing pages parameter")."]]";
}
my $raw=yesno($params{raw});
my $archive=yesno($params{archive});