Nothing in the po plugin actually uses this function.
The benefit of adding the function in general is debatable, but I'd
prefer to keep the changes involved in merging po at a minimum.
bestlink htmllink readfile writefile pagetype srcfile pagename
displaytime will_render gettext urlto targetpage
add_underlay pagetitle titlepage linkpage newpagefile
- inject warning
+ inject
%config %links %pagestate %wikistate %renderedfiles
%pagesources %destsources);
our $VERSION = 3.00; # plugin interface version, next is ikiwiki version
die $message."\n";
}
-sub warning ($) {
- return log_message(warning => @_);
-}
-
sub debug ($) {
return unless $config{verbose};
return log_message(debug => @_);
Logs a debugging message. These are supressed unless verbose mode is turned
on.
-#### `warning($)`
-
-Logs a warning message.
-
#### `error($;$)`
Aborts with an error message. If the second parameter is passed, it is a