$actions++;
}
- if ($config{rcs}) {
- $template->param(recentchangesurl => urlto("recentchanges", $page));
+ if ($config{rcs} && exists $config{recentchangespage} &&
+ $page ne $config{recentchangespage}) {
+ $template->param(recentchangesurl => urlto($config{recentchangespage}, $page));
$actions++;
}
$pagemtime{$page}=$mtime;
if (isinternal($page)) {
push @internal, $file;
+ # Preprocess internal page in scan-only mode.
+ my $content=readfile(srcfile($file));
+ preprocess($page, $page, $content, 1);
}
else {
push @needsbuild, $file;