inline: Display a message if the 'pages' parameter is missing, before it just expanded to nothing.

master
Joey Hess 2008-05-15 17:22:54 -04:00
parent 1919d0bd8e
commit 8a888a8fed
2 changed files with 3 additions and 1 deletions

View File

@ -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});

2
debian/changelog vendored
View File

@ -7,6 +7,8 @@ ikiwiki (2.47) UNRELEASED; urgency=low
a cgi.
* orphans: As a special case, the toplevel index page is never considered
an orphaned page.
* inline: Display a message if the 'pages' parameter is missing, before
it just expanded to nothing.
-- Joey Hess <joeyh@debian.org> Tue, 13 May 2008 12:30:18 -0400