diff options
-rw-r--r-- | IkiWiki/Plugin/map.pm | 2 | ||||
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | doc/bugs/map_does_not_link_directory_for_which_a_file_also_exists.mdwn | 4 | ||||
-rw-r--r-- | po/ikiwiki.pot | 2 |
4 files changed, 9 insertions, 5 deletions
diff --git a/IkiWiki/Plugin/map.pm b/IkiWiki/Plugin/map.pm index 1194f6ed2..8037db773 100644 --- a/IkiWiki/Plugin/map.pm +++ b/IkiWiki/Plugin/map.pm @@ -23,7 +23,7 @@ sub preprocess (@) { #{{{ my @mapitems = (); foreach my $page (keys %pagesources) { if (pagespec_match($page, $params{pages}, location => $params{page})) { - push @mapitems, $page; + push @mapitems, "/".$page; } } diff --git a/debian/changelog b/debian/changelog index d0f1e99aa..fa7951c71 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,12 @@ ikiwiki (2.9) UNRELEASED; urgency=low * Fix copyright and licence styling. - * Add taglink preprocessor directive, supporting visible tag links. + * tag: Add taglink preprocessor directive, supporting visible tag links. Closes: #443344 + * map: Fully specify paths to links to avoid issues when the bestlink + didn't point to the correct page. - -- Joey Hess <joeyh@debian.org> Thu, 20 Sep 2007 14:57:52 -0400 + -- Joey Hess <joeyh@debian.org> Thu, 20 Sep 2007 15:21:29 -0400 ikiwiki (2.8) unstable; urgency=low diff --git a/doc/bugs/map_does_not_link_directory_for_which_a_file_also_exists.mdwn b/doc/bugs/map_does_not_link_directory_for_which_a_file_also_exists.mdwn index bf5de2804..f635351c9 100644 --- a/doc/bugs/map_does_not_link_directory_for_which_a_file_also_exists.mdwn +++ b/doc/bugs/map_does_not_link_directory_for_which_a_file_also_exists.mdwn @@ -1,3 +1,5 @@ [[meta title="map does not link entries which are equal to basename(current_page)"]] -On <http://phd.martin-krafft.net/wiki/tag/factors/>, the top-level `factors` entry is not linked to the corresponding page. Looking at <http://phd.martin-krafft.net/wiki/tag/factors/language/>, this must be because the page name is the same as the entry name, and ikiwiki probably doesn't take the complete path of subpages into account.
\ No newline at end of file +On <http://phd.martin-krafft.net/wiki/tag/factors/>, the top-level `factors` entry is not linked to the corresponding page. Looking at <http://phd.martin-krafft.net/wiki/tag/factors/language/>, this must be because the page name is the same as the entry name, and ikiwiki probably doesn't take the complete path of subpages into account. + +[[fixed|done]] --[[Joey]] diff --git a/po/ikiwiki.pot b/po/ikiwiki.pot index d15ee8ff1..711618f15 100644 --- a/po/ikiwiki.pot +++ b/po/ikiwiki.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-09-20 14:58-0400\n" +"POT-Creation-Date: 2007-09-20 15:21-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" |