Differences From:
File
src/report.c
part of check-in
[9821284fe4]
- Add wiki conversion for report columns with names prefixed by '_wiki_'
by
btheado on
2009-11-29 03:52:27.
[view]
To:
File
src/report.c
part of check-in
[c0211010a1]
- Added doc for _wiki_ and removed doc for wiki(), tkt(), and chng()
by
btheado on
2009-12-13 01:31:36.
[view]
@@ -474,11 +474,16 @@
@
@ <li><p>The <b>user()</b> SQL function returns a string
@ which is the login of the current user.</p></li>
@
+ @ <li><p>If a column name is prefixed with the string "_wiki_", the contents
+ @ of that column will be rendered as wiki formatted content. The "_wiki_"
+ @ prefix will be stripped from the column name.</p></li>
+ @
@ <li><p>The first column whose name begins with underscore ("_") and all
@ subsequent columns are shown on their own rows in the table. This might
- @ be useful for displaying the description of tickets.
+ @ be useful for displaying the description of tickets. This rule does not
+ @ hold if the column is prefixed with "_wiki_".
@ </p></li>
@
@ <li><p>The <b>aux()</b> SQL function takes a parameter name as an argument
@ and returns the value that the user enters in the resulting HTML form. A
@@ -493,17 +498,8 @@
@ <li><p>The <b>cgi()</b> SQL function takes a parameter name as an argument
@ and returns the value of a corresponding CGI query value. If the CGI
@ parameter doesn't exist, an optional second argument will be returned
@ instead.</p></li>
- @
- @ <li><p>If a column is wrapped by the <b>wiki()</b> SQL function, it will
- @ be rendered as wiki formatted content.</p></li>
- @
- @ <li><p>If a column is wrapped by the <b>tkt()</b> SQL function, it will
- @ be shown as a ticket id with a link to the appropriate page</p></li>
- @
- @ <li><p>If a column is wrapped by the <b>chng()</b> SQL function, it will
- @ be shown as a baseline id with a link to the appropriate page.</p></li>
@
@ <li><p>The <b>search()</b> SQL function takes a keyword pattern and
@ a search text. The function returns an integer score which is
@ higher depending on how well the search went.</p></li>