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
} &&
30 (! exists $params{pages
} ||
31 pagespec_match
($params{destpage
}, $params{pages
},
32 location
=> $params{page
}))) {
34 htmllink
($params{page
}, $params{destpage
}, $params{page
},
35 linktext
=> $params{linktext
},
39 return "<a name=\"more\"></a>\n\n".
40 IkiWiki
::preprocess
($params{page
}, $params{destpage
},