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 |
| 15 | Added 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" |
| 19 | This is the content. |
| 20 | }}} |
| 21 | }}} |
| 22 | The 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). |