Opened 13 years ago
Last modified 9 years ago
#10523 new enhancement
TitleIndex: add option 'show_title' to display first level heading
Reported by: | Christian Boos | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | topic-wikiengine |
Component: | wiki system | Version: | 0.12dev |
Severity: | normal | Keywords: | titleindex |
Cc: | nicolas@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Besides some bug fixes, #8925 proposed a nice enhancement idea for the [[TitleIndex]]
macro:
Like the TOCMacro does, the TitleIndex macro could display the first level heading in addition to the page name when a
show_title
parameter is given.
However I think it would be prudent performance-wise to not search for the title "dynamically" in all pages. Rather I think this should depend on some planned features for the Wiki (#4431 + explicit storage of the title in a title property, see ticket:8925#comment:9).
Attachments (1)
Change History (3)
comment:1 by , 13 years ago
Cc: | added |
---|
by , 9 years ago
Attachment: | 10523_showtitles.patch added |
---|
Replying to Christian Boos:
The attached patch ignores this. Maybe instead this can be solved with the
pages_metadata
cache from comment:7:ticket:10323?