Hi,

I'm confused by the WikiMacro API:

- The wiki docs [1] demonstrate the usage of expand_macro.
- The IMacroProvider source code [2] clearly states that 'render_macro'
   is deprecated and 'expand_macro' is the new style.
- However in WikiMacroBase [3] 'expand_macro' has a comment on top:
   # -- TODO: remove in 0.12
   ???

I hope this comment is only related to the actual call to render_macro 
as a fallback to be compatible with old plugins?

fs

[1] http://trac.edgewall.org/wiki/WikiMacros#DevelopingCustomMacros
[2] http://trac.edgewall.org/browser/trunk/trac/wiki/api.py#L72
[3] http://trac.edgewall.org/browser/trunk/trac/wiki/macros.py#L42

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to