projects
/
ikiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
link to bug report
[ikiwiki.git]
/
IkiWiki.pm
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index 1c87831879afd5f154983123d3da1b7b188758ee..5ae360ad0ee32d3068a64a5e97cc742176dada4e 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-563,7
+563,7
@@
sub htmllink ($$$;@) { #{{{
if (! $destsources{$bestlink}) {
return $linktext unless length $config{cgiurl};
if (! $destsources{$bestlink}) {
return $linktext unless length $config{cgiurl};
- return "<span><a href=\"".
+ return "<span
class=\"createlink\"
><a href=\"".
cgiurl(
do => "create",
page => pagetitle(lc($link), 1),
cgiurl(
do => "create",
page => pagetitle(lc($link), 1),
@@
-826,6
+826,11
@@
sub enable_commit_hook () { #{{{
} #}}}
sub loadindex () { #{{{
} #}}}
sub loadindex () { #{{{
+ %oldrenderedfiles=%pagectime=();
+ if (! $config{rebuild}) {
+ %pagesources=%pagemtime=%oldlinks=%links=%depends=
+ %destsources=%renderedfiles=%pagecase=();
+ }
open (my $in, "<", "$config{wikistatedir}/index") || return;
while (<$in>) {
$_=possibly_foolish_untaint($_);
open (my $in, "<", "$config{wikistatedir}/index") || return;
while (<$in>) {
$_=possibly_foolish_untaint($_);