Edgewall Software

Opened 7 years ago

Last modified 7 years ago

#12633 closed enhancement

TracIni macro should have a way to specify exact section and option names to render — at Initial Version

Reported by: Jun Omae Owned by:
Priority: normal Milestone: 1.2.1
Component: wiki system Version:
Severity: normal Keywords: trac.ini
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

[[TracIni(notification)]] and [[TracIni(notification-subscriber)]] are used in TracNotification page. However, [notification-subscriber] section is rendered twice.

It is caused by [[TracIni(notification)]] rendering both notification and notification-subscriber sections. I think it is intend to render only notification section.

Then, the macro should have a way to specify exact section and option names to render, e.g.:

  • [[TracIni(section=notification)]]: render notification section
  • [[TracIni(section=notification-*)]]: render sections matched notification-* pattern
  • [[TracIni(option=smtp_enabled)]]: render smtp_enabled options in any sections
  • [[TracIni(option=smtp_*)]]: render options matched smtp_* pattern in any sections
  • [[TracIni(section=notification,option=mime_encoding)]]: render [notification] mime_encoding

Change History (0)

Note: See TracTickets for help on using tickets.