Specifically, fixes discussion actions on discussion pages, and unbreaks the opendiscussion plugin.
my $file = $pagesources{$page};
my $type = pagetype($file);
if ($config{discussion}) {
my $file = $pagesources{$page};
my $type = pagetype($file);
if ($config{discussion}) {
- if ($page !~ /.*\/\Q$config{discussionpage}\E$/ &&
+ if ($page !~ /.*\/\Q$config{discussionpage}\E$/i &&
(length $config{cgiurl} ||
(length $config{cgiurl} ||
- exists $pagesources{$page."/".$config{discussionpage}})) {
+ exists $pagesources{$page."/".lc($config{discussionpage})})) {
$template->param(have_actions => 1);
$template->param(discussionlink =>
htmllink($page,
$template->param(have_actions => 1);
$template->param(discussionlink =>
htmllink($page,
my $cgi=shift;
my $session=shift;
my $cgi=shift;
my $session=shift;
- return "" if $page=~/(\/|^)\Q$config{discussionpage}\E$/;
+ return "" if $page=~/(\/|^)\Q$config{discussionpage}\E$/i;
$actions++;
}
if ($config{discussion}) {
$actions++;
}
if ($config{discussion}) {
- if ($page !~ /.*\/\Q$config{discussionpage}\E$/ &&
+ if ($page !~ /.*\/\Q$config{discussionpage}\E$/i &&
(length $config{cgiurl} ||
exists $links{$page."/".$config{discussionpage}})) {
$template->param(discussionlink => htmllink($page, $page, $config{discussionpage}, noimageinline => 1, forcesubpage => 1));
(length $config{cgiurl} ||
exists $links{$page."/".$config{discussionpage}})) {
$template->param(discussionlink => htmllink($page, $page, $config{discussionpage}, noimageinline => 1, forcesubpage => 1));
-ikiwiki (3.20091219) UNRELEASED; urgency=low
+ikiwiki (3.20100102.3) UNRELEASED; urgency=low
+
+ Happy palindrome day!
* pagestats: Add show parameter. Closes: #562129 (David Paleino)
* toc: Add startlevel parameter. (kerravonsen)
* pagestats: Add show parameter. Closes: #562129 (David Paleino)
* toc: Add startlevel parameter. (kerravonsen)
* linkmap: Add option to omit disconnected pages from the map.
* inline: Fix bug that limited displayed pages when feedshow was
specified w/o show.
* linkmap: Add option to omit disconnected pages from the map.
* inline: Fix bug that limited displayed pages when feedshow was
specified w/o show.
+ * Fix several places that did not properly handle capitalization of
+ the discussionpage setting. Specifically, fixes discussion actions
+ on discussion pages, and unbreaks the opendiscussion plugin.
-- Joey Hess <joeyh@debian.org> Fri, 25 Dec 2009 14:31:22 -0500
-- Joey Hess <joeyh@debian.org> Fri, 25 Dec 2009 14:31:22 -0500
>> This bug appears to have returned. For example,
>> [[plugins/contrib/unixauth/discussion]] has a Discussion link. -- [[schmonz]]
>> This bug appears to have returned. For example,
>> [[plugins/contrib/unixauth/discussion]] has a Discussion link. -- [[schmonz]]
+>>> Lots of case issues this time. Audited for and fixed them all. [[done]]
+>>> --[[Joey]]
+
>>> Joey, I've just seen that you closed that bug in ikiwiki 1.37, but it seems
>>> you fixed it only for English "discussion" page. The bug still occurs
>>> for the international "discussion" pages. I have backported ikiwiki 1.40
>>> Joey, I've just seen that you closed that bug in ikiwiki 1.37, but it seems
>>> you fixed it only for English "discussion" page. The bug still occurs
>>> for the international "discussion" pages. I have backported ikiwiki 1.40