Emmanuel Blot wrote: >> Great! I'll merge it later today. >> > > So what's the status for the macro interface? >
Well, so far it's the status quo, documented here: http://trac.edgewall.org/wiki/TracDev/ApiChanges/0.11#IWikiMacroProvider The formatter argument provides the macro with all the needed contextual information. I'm not sure it will help a lot to augment the number of arguments in the expand_macro method by flattening out the information already contained in the formatter. Maybe make an exception for resource, but what about perm, context, etc.? As for the changes required in existing 0.11 plugins, it will be a matter of replacing formatter.context.realm/id by formatter.resource.realm/id. -- Christian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
