Opened 16 years ago
Closed 12 years ago
#8137 closed enhancement (fixed)
TracQuery count as part of a heading
Reported by: | anonymous | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | 1.0 |
Component: | wiki system | Version: | 0.11.3 |
Severity: | normal | Keywords: | TracQuery heading |
Cc: | Branch: | ||
Release Notes: |
Some Wiki macros now produce markup even when used in "inline" context. |
||
API Changes: |
Added |
||
Internal Changes: |
Description
It would be nice to be able to have a wiki heading contain a count from a TicketQuery macro, like so:
== New Tickets: [[TicketQuery(status=new,format=count)]] ==
right now this results in:
New Tickets: 1063
I was hoping to see the number of results instead of !TicketQuery(...) appear as part of the heading.
Attachments (0)
Change History (6)
comment:1 by , 16 years ago
Milestone: | → experimental |
---|
comment:2 by , 15 years ago
Milestone: | experimental → next-major-0.1X |
---|
Milestone experimental deleted
comment:3 by , 15 years ago
Milestone: | next-major-0.1X → 0.13 |
---|---|
Owner: | set to |
I've hit the issues a few times myself, in the last couple weeks (with [[span(...)]], IIRC).
The inline renderer should be able to detect if a macro returns inlined content, and should not return a [[<macro>(...)]] shortening in this case.
comment:4 by , 14 years ago
Milestone: | 0.13 → 0.14-wikiengine |
---|
comment:5 by , 12 years ago
This has been implemented for 1.0.
Indeed, something to keep in mind for the next round of improvements of the WikiEngine.