Edgewall Software

Changes between Version 1 and Version 2 of TracDev/ApiChanges/0.12


Ignore:
Timestamp:
Jul 27, 2009, 1:31:07 PM (15 years ago)
Author:
Remy Blank
Comment:

Added change in IWikiMacroProvider.expand_macro().

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/ApiChanges/0.12

    v1 v2  
    1212== Modifications made to the 0.11 API ==
    1313=== Modified Interfaces ===
    14 ==== `ITimelineEventProvider` ^[source:trunk/trac/timeline/api.py@#L28 (0.12)] [source:tags/trac-0.11/trac/Timeline.py@#L32 (0.11)]^ ==== #ITimelineEventProvider
     14==== `IWikiMacroProvider` ^[source:trunk/trac/wiki/api.py@8372:85#L72 (0.12)] [source:branches/0.11-stable/trac/wiki/api.py@8372:90#L77 (0.11)]^ ==== #IWikiMacroProvider
     15Added an optional argument `args` to `IWikiMacroProvider.expand_macro()` to contain the shebang-line arguments when using wiki processor syntax. For example, with the following content:
     16{{{
     17{{{
     18#!MyMacro test=123 other="This is a text"
     19This is the content.
     20}}}
     21}}}
     22The macro `MyMacro` will have its `expand_macro()` called with `args={'test': '123', 'other': 'This is a text'}` (currently, an additional argument `'class': 'wikipage'` is also passed; this is an artifact due to the same syntax allowing to call MIME viewers).
    1523
    16 FIXME: not modified, just used as an example of how to list a modified interface
     24See also #8204.
    1725
    1826=== Other Changes to the 0.11 API ===