Edgewall Software
Modify

Opened 6 years ago

Last modified 4 years ago

#13081 new defect

IWikiMacroProvider.is_inline should take macro name as argument

Reported by: Ryan J Ollos Owned by:
Priority: normal Milestone: next-dev-1.7.x
Component: general Version: 1.0
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

IWikiMacroProvider.is_inline was added in r10905.

Implementers of IWikiMacroProvider can define multiple macros, so the other interface methods take name as an argument. It would seem that is_inline should also take name as an argument since the different macros might produce different types of content.

Attachments (0)

Change History (6)

comment:1 by Ryan J Ollos, 6 years ago

When this is fixed and deployed I can conclude work on the TracReleases macro. In the meantime, edited TracDev/ReleaseChecklist@136.

comment:2 by Jun Omae, 6 years ago

I've thought the same thing. I consider that content and args parameters of expand_macro not only name parameter should be passed ([[TicketQuery(format=table)]] vs. [[TicketQuery(format=count)]]).

comment:3 by Jun Omae, 6 years ago

Or, it might be good to enhance expand_macro() to return a tuple of (content, is_block).

comment:4 by Ryan J Ollos, 5 years ago

Milestone: next-major-releases1.5.1

comment:5 by Ryan J Ollos, 5 years ago

Milestone: 1.5.1next-dev-1.5.x

comment:6 by Ryan J Ollos, 4 years ago

Milestone: next-dev-1.5.xnext-dev-1.7.x

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.