Edgewall Software
Modify

Ticket #8137 (new enhancement)

Opened 3 years ago

Last modified 16 months ago

TracQuery count as part of a heading

Reported by: anonymous Owned by: cboos
Priority: normal Milestone: 0.14-wikiengine
Component: wiki system Version: 0.11.3
Severity: normal Keywords: TracQuery heading
Cc:
Release Notes:
API 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: 895

I was hoping to see the number of results instead of !TicketQuery(...)? appear as part of the heading.

Attachments

Change History

comment:1 Changed 3 years ago by cboos

  • Milestone set to experimental

Indeed, something to keep in mind for the next round of improvements of the WikiEngine.

comment:2 Changed 2 years ago by cboos

  • Milestone changed from experimental to next-major-0.1X

Milestone experimental deleted

comment:3 Changed 2 years ago by cboos

  • Milestone changed from next-major-0.1X to 0.13
  • Owner set to cboos

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 Changed 16 months ago by cboos

  • Milestone changed from 0.13 to 0.14-wikiengine
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from cboos. Next status will be 'new'
The owner will be changed from cboos to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.