- error(sprintf(gettext("shortcut plugin will not work without %s"),
- "shortcuts.".$config{default_pageext}));
+ print STDERR sprintf(gettext("shortcut plugin will not work without %s"),
+ "shortcuts.".$config{default_pageext})."\n";
+ }
+ else {
+ IkiWiki::preprocess("shortcuts", "shortcuts", readfile($srcfile));