2 package IkiWiki::Plugin::more;
8 my $linktext = gettext("more");
11 hook(type => "getsetup", id => "more", call => \&getsetup);
12 hook(type => "preprocess", id => "more", call => \&preprocess);
27 $params{linktext} = $linktext unless defined $params{linktext};
29 if ($params{page} ne $params{destpage}) {
31 htmllink($params{page}, $params{destpage}, $params{page},
32 linktext => $params{linktext},
36 $params{text}=IkiWiki::preprocess($params{page}, $params{destpage},
37 IkiWiki::filter($params{page}, $params{destpage}, $params{text}));
38 return "<a name=\"more\"></a>\n\n".$params{text};