aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2009-06-06 14:01:04 +0200
committerintrigeri <intrigeri@boum.org>2009-06-06 14:01:28 +0200
commit17b3d73f6e65d6a754633902b0dd4716d53b03a9 (patch)
treed56924133e334378fc23ff070666394f550e8270 /IkiWiki
parent091f11be76991c3975c74d261ab4a065845ba8aa (diff)
downloadikiwiki-17b3d73f6e65d6a754633902b0dd4716d53b03a9.tar
ikiwiki-17b3d73f6e65d6a754633902b0dd4716d53b03a9.tar.gz
Revert "quick fix for http://ikiwiki.info/bugs/unwanted_discussion_links_on_discussion_pages/"
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>
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Render.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index 093c25b45..adae9f0d5 100644
--- 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));