Opened 20 years ago
Closed 18 years ago
#1222 closed enhancement (duplicate)
Parametrizable header, footer, and initial body content values for wiki pages
Reported by: | 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:
- wikipage_header.wikiformatting - evaluated each time a wiki page is rendered
- wikipage_footer.wikiformatting - evaluated each time a wiki page is rendered
- 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 , 20 years ago
Keywords: | helpwanted added; wiki header footer default content removed |
---|---|
Milestone: | 0.9 |
comment:2 by , 18 years ago
See ticket #962 for more information and patches for default wiki body text.
comment:3 by , 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).
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.