$template->param($param => $params{$param});
}
-
return IkiWiki::preprocess($params{page}, $params{destpage},
$template->output);
} # }}}
# Note: preserve order of params, some plugins may
# consider it significant.
my @params;
- while ($params =~ /(?:(\w+)=)?(?:"""(.+)"""|"([^"]+)"|(\S+))(?:\s+|$)/g) {
+ while ($params =~ /(?:(\w+)=)?(?:"""(.+)"""|"([^"]+)"|(\S+))(?:\s+|$)/sg) {
if (defined $1) {
push @params, $1, (defined $2 ? $2 : (defined $3 ? $3 : $4));
}
and thoughts about ikiwiki to [[Discussion]].
[[template id=note text="""
-If you use ikiwiki, please list your wiki in IkiWikiUsers. Thanks!
+If you use ikiwiki, please list your wiki in [[IkiWikiUsers]]. Thanks!
"""]]
* [[Setup]] has a tutorial for setting up ikiwiki, and [[Usage]] documents