Edgewall Software

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#9351 closed enhancement (fixed)

[PATCH] TracIni page should list default values — at Version 7

Reported by: anatoly techtonik <techtonik@…> Owned by: Christian Boos
Priority: normal Milestone: 1.0
Component: general Version: 0.11.7
Severity: normal Keywords: bitesized
Cc: lists@… Branch:
Release Notes:

TracIni page now shows the default value for each setting.

API Changes:
Internal Changes:

Description

http://trac.edgewall.org/wiki/TracIni as well as http://trac.edgewall.org/about page doesn't list default values (unfortunately). The only way to get these values is to look at source code.

Change History (9)

comment:1 by Remy Blank, 14 years ago

Keywords: bitesized added
Milestone: unscheduled

Good idea.

comment:2 by Thijs Triemstra <lists@…>, 14 years ago

Cc: lists@… added

comment:3 by Mikael Relbe, 14 years ago

Milestone: unscheduled0.13
Owner: set to Mikael Relbe
Summary: TracIni page should list default values[PATCH] TracIni page should list default values

A third column is added in the output from [[TracIni]] macro, containing the default value. The text "(no default)" is presented in case no default values is set.

Spaces were inserted to the in-built list options in Trac to restrict the width of the new column for these at least.

[trac]
mainnav = wiki,timeline,roadmap,...

is changed to

[trac]
mainnav = wiki, timeline, roadmap, ...

by Mikael Relbe, 14 years ago

#9351: Patch to apply on r10198

comment:4 by Christian Boos, 14 years ago

Owner: changed from Mikael Relbe to Christian Boos
Status: newassigned

Fine for me (accepting so that I remember it's ready to commit).

I'd prefer to have 85% for div.tracini td.nodefault as I find 80% a bit too small, but that's largely cosmetic and perhaps browser dependent even.

in reply to:  4 comment:5 by Mikael Relbe, 14 years ago

Replying to cboos:

I'd prefer to have 85% for div.tracini td.nodefault

That's perfectly fine with me. (80% was an influence by div.trac-modifiedby)

comment:6 by Mikael Relbe, 14 years ago

Oh, just discovered yet a couple of default values that needed comma-space separations… Replacing the patch with a new one.

by Mikael Relbe, 14 years ago

Replaces former patch

comment:7 by Christian Boos, 14 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Thanks, tested and applied in r10213, tweaked in r10214 ;-)

Note: See TracTickets for help on using tickets.