use warnings;
use strict;
-use IkiWiki;
+use IkiWiki 2.00;
sub import { #{{{
hook(type => "checkconfig", id => "shortcut", call => \&checkconfig);
my %params=@_;
if (! defined $params{name} || ! defined $params{url}) {
- return "[[".gettext("shortcut missing name or url parameter")."]]";
+ return "[[shortcut ".gettext("missing name or url parameter")."]]";
}
hook(type => "preprocess", no_override => 1, id => $params{name},