Edgewall Software
Modify

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)

10523_showtitles.patch (3.2 KB ) - added by anonymous 9 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by Nicolas Hoizey <nicolas@…>, 13 years ago

Cc: nicolas@… added

by anonymous, 9 years ago

Attachment: 10523_showtitles.patch added

in reply to:  description comment:2 by anonymous, 9 years ago

Replying to Christian Boos:

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).

The attached patch ignores this. Maybe instead this can be solved with the pages_metadata cache from comment:7:ticket:10323?

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.