summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/shortcut.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/shortcut.pm')
-rw-r--r--IkiWiki/Plugin/shortcut.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/shortcut.pm b/IkiWiki/Plugin/shortcut.pm
index f1a38ea48..8df60cfe2 100644
--- a/IkiWiki/Plugin/shortcut.pm
+++ b/IkiWiki/Plugin/shortcut.pm
@@ -24,7 +24,7 @@ sub preprocess_shortcut (@) { #{{{
my %params=@_;
if (! defined $params{name} || ! defined $params{url}) {
- return "[[shortcut ".gettext("missing name or url parameter")."]]";
+ error gettext("missing name or url parameter");
}
hook(type => "preprocess", no_override => 1, id => $params{name},