From 9aa38483ceebb96c92d630550c000fc324738d0e Mon Sep 17 00:00:00 2001 From: Michael Hamann Date: Mon, 17 Sep 2012 23:43:37 +0200 Subject: Fix link names of start pages in sitemap/index FS#2605 --- inc/html.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc') diff --git a/inc/html.php b/inc/html.php index f4010b447..f4e6af663 100644 --- a/inc/html.php +++ b/inc/html.php @@ -863,7 +863,8 @@ function html_list_index($item){ $ret .= $base; $ret .= ''; }else{ - $ret .= html_wikilink(':'.$item['id']); + // default is noNSorNS($id), but we want noNS($id) when useheading is off FS#2605 + $ret .= html_wikilink(':'.$item['id'], useHeading('navigation') ? null : noNS($item['id'])); } return $ret; } -- cgit v1.2.3