default_plugins => {
type => "internal",
default => [qw{mdwn link inline meta htmlscrubber passwordauth
- openid signinedit lockedit conditional
+ openid emailauth signinedit lockedit conditional
recentchanges parentlinks editpage
templatebody}],
description => "plugins to enable by default",
return;
}
+sub emailuser ($) {
+ my $user=shift;
+ if (defined $user && $user =~ m/(.+)@/) {
+ return $1;
+ }
+ return;
+}
+
sub htmlize ($$$$) {
my $page=shift;
my $destpage=shift;