Edgewall Software
Modify

Opened 19 years ago

Closed 18 years ago

#1222 closed enhancement (duplicate)

Parametrizable header, footer, and initial body content values for wiki pages

Reported by: mario <mario@…> Owned by: Jonas Borgström
Priority: normal Milestone:
Component: wiki system Version: 0.8
Severity: normal Keywords: helpwanted
Cc: mario@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

It would be useful to be have parametrizable wiki content headers and footers, as well as being able to set the initial content of a wiki page body.

What I am thinking of are the following templates:

  1. wikipage_header.wikiformatting - evaluated each time a wiki page is rendered
  2. wikipage_footer.wikiformatting - evaluated each time a wiki page is rendered
  3. wikipage_default_body.wikiformatting - evaluated only for new pages

This will allow a sitewide control of header and footer for wiki page content (that could be a nice place to place some navigation macros) that can be manipulated sitewide at any time. The default body would be useful to provide an appropriate initial content to the body of a wiki page.

These string values could be set by means of template files on disk (same as for site_header.cs), or as trac.ini values for a wiki section, amongst others.

Attachments (0)

Change History (4)

comment:1 by Christopher Lenz, 19 years ago

Keywords: helpwanted added; wiki header footer default content removed
Milestone: 0.9

I think those could simply be Wiki pages, and you'd have options in TracIni to say which Wiki page should be included as footer/header of every other wiki page, and which Wiki page should be used as template for new pages.

comment:2 by anonymous, 18 years ago

See ticket #962 for more information and patches for default wiki body text.

comment:3 by sid <sid.wiesner@…>, 18 years ago

Patch for wiki page templates applied in r3881 (all pages with the PageTemplates/ prefix will be used to populate the template list).

comment:4 by Christian Boos, 18 years ago

Resolution: duplicate
Status: newclosed

Yes, for the body part it's a duplicate of #962 and for header and footer, 0.11 will provide other ways to do it, see for example #3695, #3704.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


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