Changes between Version 18 and Version 19 of IniGetMacro
- Timestamp:
- Mar 5, 2015, 1:04:00 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IniGetMacro
v18 v19 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 = Display option values for trac.ini =3 2 4 == Description == 3 = Display option values for trac.ini 4 5 == Description 5 6 6 7 Allows a Trac wiki author to insert the value of a {{{trac.ini}}} configuration option into a page. … … 14 15 }}} 15 16 16 By calling the macro like so: `[[IniGet(section.name)]]`, it returns the value. If no option matches, it returns an error message. Some option names themselves 17 contain periods, this is supported. 17 By calling the macro like so: `[[IniGet(section.name)]]`, it returns the value. If no option matches, it returns an error message. Some option names themselves contain periods, this is supported. 18 18 19 The second macro in the package is `Welcome`, and it returns a level 1 heading 20 element in the following format: 19 The second macro in the package is `Welcome`, and it returns a level 1 heading element in the following format: 21 20 22 21 {{{ … … 28 27 These macros are useful for WikiStart project templates. 29 28 30 == Installation == 31 29 == Installation 30 31 Install this plugin using setup.py and copying the egg to the plugins directory: 32 32 33 {{{ 33 34 #!sh … … 36 37 }}} 37 38 38 == Configuration ==39 == Configuration 39 40 40 41 Enable the macros in: … … 51 52 You may need to restart your Web server. 52 53 53 == Examples ==54 == Examples 54 55 55 56 {{{ … … 61 62 [[Welcome(,Super Cool Project)]] 62 63 63 The [[IniGet(project.name)]] project is designed to track and document software defects. ..64 The [[IniGet(project.name)]] project is designed to track and document software defects. 64 65 }}} 65 66 66 == Download ==67 == Download 67 68 68 69 Download the zipped source from [download:inigetmacro here]. 69 70 70 == Source ==71 == Source 71 72 72 73 You can check out IniGetMacro from [http://trac-hacks.org/svn/inigetmacro here] using Subversion, or [source:inigetmacro browse the source] with Trac. 73 74 74 == Bugs/Feature Requests ==75 == Bugs/Feature Requests 75 76 76 77 Existing bugs and feature requests for IniGetMacro are [report:9?COMPONENT=IniGetMacro here]. … … 78 79 If you have any issues, create a [http://trac-hacks.org/newticket?component=IniGetMacro&owner=dwclifton new ticket]. 79 80 80 == Recent Changes == 81 [[TicketQuery(component=IniGetMacro,group=type,format=progress)]] 82 83 == Recent Changes 81 84 82 85 [[ChangeLog(inigetmacro, 3)]] 83 86 84 == Author/Contributors ==87 == Author/Contributors 85 88 86 89 * '''Author''': [wiki:dwclifton]