2 package IkiWiki::Plugin::more;
8 my $linktext = gettext("more");
11 hook(type => "preprocess", id => "more", call => \&preprocess);
14 sub preprocess (@) { #{{{
17 $params{linktext} = $linktext unless defined $params{linktext};
19 if ($params{page} ne $params{destpage}) {
21 htmllink($params{page}, $params{destpage}, $params{page},
22 linktext => $params{linktext},
26 $params{text}=IkiWiki::preprocess($params{page}, $params{destpage},
27 IkiWiki::filter($params{page}, $params{text}));
28 return "<a name=\"more\"></a>\n\n".$params{text};