the wikiformat plugin works. Thanks, Emanuele Aina.
* Patch from Alessandro Dotti Contra to clean up backlinks and navbar
display, running them through pagetitle. This removes ugly underscores and
other gunk from the display, much nicer. You may want to rebuild your wiki
when upgrading to get the cleanup globally.
$p_trimmed=~s/^\Q$dir\E// &&
$page_trimmed=~s/^\Q$dir\E//;
- push @links, { url => $href, page => $p_trimmed };
+ push @links, { url => $href, page => pagetitle($p_trimmed) };
}
}
foreach my $dir (reverse split("/", $page)) {
if (! $skip) {
$path.="../";
- unshift @ret, { url => "$path$dir.html", page => $dir };
+ unshift @ret, { url => "$path$dir.html", page => pagetitle($dir) };
}
else {
$skip=0;
* New pagestats plugin from Enrico, which can generate a table counting
the backlinks for each page, or a del.icio.us style cloud.
-
- -- Joey Hess <joeyh@debian.org> Sat, 29 Jul 2006 13:30:16 -0400
+ * Build-depend on libtext-wikiformat-perl, so that the syntax check of
+ the wikiformat plugin works. Thanks, Emanuele Aina.
+ * Patch from Alessandro Dotti Contra to clean up backlinks and navbar
+ display, running them through pagetitle. This removes ugly underscores and
+ other gunk from the display, much nicer. You may want to rebuild your wiki
+ when upgrading to get the cleanup globally.
+
+ -- Joey Hess <joeyh@debian.org> Sat, 29 Jul 2006 14:22:18 -0400
ikiwiki (1.12) unstable; urgency=low
Section: web
Priority: optional
Build-Depends: perl, debhelper (>= 5)
-Build-Depends-Indep: dpkg-dev (>= 1.9.0), markdown, libhtml-template-perl, libhtml-scrubber-perl, wdg-html-validator
+Build-Depends-Indep: dpkg-dev (>= 1.9.0), markdown, libhtml-template-perl, libhtml-scrubber-perl, wdg-html-validator, libtext-wikiformat-perl
Maintainer: Joey Hess <joeyh@debian.org>
Standards-Version: 3.7.2