Your message dated Sat, 24 Nov 2007 22:32:02 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#451728: fixed in ikiwiki 2.13 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: ikiwiki Version: 2.12 Severity: normal Tags: patch I've noticed that even if I set usedirs=0, links to the top level of the wiki (and probably other index.* files, although I haven't checked) go to the top level *directory* of the wiki. This will work as expected when you're viewing the wiki via http, but since the main advantage of usedirs=0 is that the wiki works locally, it seems kind of unfortunate to me that links to the root of the wiki break when accessed through file:/// URLs. This might be intentional -- if it is, it would be nice to have a configuration option that disables this behavior. I've attached a patch that attempts to make links to index.* work whenever usedirs=0, but obviously it could be conditioned on any configuration variable of your choice. This is the first Perl I've written in ages (probably 10+ years) and I don't know ikiwiki at all, so I apologize in advance for any idiocy in my change. All I know is it worked for me. :-) Thanks, Daniel -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ikiwiki depends on: ii gcc [c-compiler] 4:4.2.1-6 The GNU C compiler ii gcc-4.1 [c-compiler] 4.1.2-17 The GNU C compiler ii gcc-4.2 [c-compiler] 4.2.2-3 The GNU C compiler ii libc6-dev [libc-dev] 2.6.1-6 GNU C Library: Development Librari ii libcgi-formbuilder-perl 3.05.01-1 Easily generate and process statef ii libcgi-session-perl 4.20-2 Persistent session data in CGI app ii libhtml-parser-perl 3.56-1 A collection of modules that parse ii libhtml-scrubber-perl 0.08-4 Perl extension for scrubbing/sanit ii libhtml-template-perl 2.9-1 HTML::Template : A module for usin ii libmail-sendmail-perl 0.79-4 Send email from a perl script ii libtime-duration-perl 1.02-1 Time::Duration -- rounded or exact ii libtimedate-perl 1.1600-9 Time and date functions for Perl ii liburi-perl 1.35.dfsg.1-1 Manipulates and accesses URI strin ii libxml-simple-perl 2.18-1 Perl module for reading and writin ii markdown 1.0.1-6 Text-to-HTML conversion tool ii perl 5.8.8-12 Larry Wall's Practical Extraction Versions of packages ikiwiki recommends: ii git-core 1:1.5.3.5-1 fast, scalable, distributed revisi pn hyperestraier <none> (no description available) ii libnet-openid-consumer-perl 0.13-1 library for consumers of OpenID id ii mercurial 0.9.5-2 Scalable distributed version contr ii subversion 1.4.4dfsg1-1 Advanced version control system -- no debconf information--- IkiWiki.pm.old 2007-11-17 14:59:09.000000000 -0800 +++ IkiWiki.pm 2007-11-17 15:41:23.000000000 -0800 @@ -510,7 +510,10 @@ sub beautify_url ($) { #{{{ my $url=shift; - $url =~ s!/index.$config{htmlext}$!/!; + if( $config{usedirs} ) { + $url =~ s!/index.$config{htmlext}$!/!; + } + $url =~ s!^$!./!; # Browsers don't like empty links... return $url;
--- End Message ---
--- Begin Message ---Source: ikiwiki Source-Version: 2.13 We believe that the bug you reported is fixed in the latest version of ikiwiki, which is due to be installed in the Debian FTP archive: ikiwiki_2.13.dsc to pool/main/i/ikiwiki/ikiwiki_2.13.dsc ikiwiki_2.13.tar.gz to pool/main/i/ikiwiki/ikiwiki_2.13.tar.gz ikiwiki_2.13_all.deb to pool/main/i/ikiwiki/ikiwiki_2.13_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Joey Hess <[EMAIL PROTECTED]> (supplier of updated ikiwiki package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Sat, 24 Nov 2007 16:06:22 -0500 Source: ikiwiki Binary: ikiwiki Architecture: source all Version: 2.13 Distribution: unstable Urgency: low Maintainer: Joey Hess <[EMAIL PROTECTED]> Changed-By: Joey Hess <[EMAIL PROTECTED]> Description: ikiwiki - a wiki compiler Closes: 451019 451469 451666 451728 451729 Changes: ikiwiki (2.13) unstable; urgency=low . The ikiwiki zombie army release. . * Add liblwpx-paranoidagent-perl to recommends of Debian package, this is needed to do OpenID really securely. * ikiwiki.setup is licensed same as the basewiki, not GPLed. * inline: Add timeformat parameter to control how the ctime of inlined pages is displayed. Closes: #451019 * Add wrappergroup config option, which can be used to cause wrappers to be created owned by some group other than the default. Useful then there's a shared repository with access controlled by a group, to let ikiwiki run setgid to that group. * ikiwiki-mass-rebuild: Run build with the user in all their groups. * Correct markdown in example index page in setup. Closes: #451469 * Better error message when a setup file has a syntax error. Closes: #451666 * Fix mercurial historyurl in example setup file. * More compact output for the brokenlinks plugin. * Allow trailing slashes after page names in wikilinks. * Don't consider links to anchors on the same page to be self links. Patch by Daniel Burrows. Closes: #451729 * When usedirs is disabled, link direct to index.html files, not to directories, to improve browsing of file:// urls. Patch by Daniel Burrows. Closes: #451728 * Allow html5 video and audio tags and their attributes in the htmlscrubber. * toc: Handle html elements embedded inside a header, rather than stopping collecting the header text at the first element. Files: 2cd7428c75b9df921d5bf2712627aaaf 865 web optional ikiwiki_2.13.dsc f4f15988769dea94b76bc13f186a034c 586995 web optional ikiwiki_2.13.tar.gz d83734e6c3d288ef73ebd89dd14fdaab 698652 web optional ikiwiki_2.13_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHSKRW2tp5zXiKP0wRAnHsAJ419wD/bnpBYszm05kMCLX/7/Bj1gCeMSbr ipAWgTiqnOCyBrKLEM6MnKw= =CRca -----END PGP SIGNATURE-----
--- End Message ---

