projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
091f11b
)
Revert "quick fix for http://ikiwiki.info/bugs/unwanted_discussion_links_on_discussio...
author
intrigeri
<intrigeri@boum.org>
Sat, 6 Jun 2009 12:01:04 +0000
(14:01 +0200)
committer
intrigeri
<intrigeri@boum.org>
Sat, 6 Jun 2009 12:01:28 +0000
(14:01 +0200)
This reverts commit
2ed033a4aac0d603c375294bdb19f5b74519f389
.
It has been more properly fixed in upstream's master, that will be merged in
immediately.
Signed-off-by: intrigeri <intrigeri@boum.org>
IkiWiki/Render.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Render.pm
b/IkiWiki/Render.pm
index 093c25b4579cacaedaa7f62028e2321300660b6b..adae9f0d5898dee39190a29328fa7e221c82dcdc 100644
(file)
--- a/
IkiWiki/Render.pm
+++ b/
IkiWiki/Render.pm
@@
-77,7
+77,7
@@
sub genpage ($$) {
}
if ($config{discussion}) {
my $discussionlink=gettext("discussion");
- if ($page !~ /.*\/\Q$discussionlink\E$/
i
&&
+ if ($page !~ /.*\/\Q$discussionlink\E$/ &&
(length $config{cgiurl} ||
exists $links{$page."/".$discussionlink})) {
$template->param(discussionlink => htmllink($page, $page, gettext("Discussion"), noimageinline => 1, forcesubpage => 1));