Thread:Extension talk:CategoryTree/Suppress links to categories, only link to pages.

On Wikivoyage we are using category trees to display related travel topic pages in articles. However, we would like to only display links to pages, we don't want the readers to link to sub-categories. We use mode=pages, but that only affects the bottom level, all the subcategory titles are displayed as links to the category namespace pages.
 * Is there a way to display the category names in the tree without links to the categories?
 * Ideally clicking on the category name would have the same effect as [+] or [-], but that would be a bonus.