Opened 15 years ago
Last modified 7 years ago
#3734 closed enhancement
diff for making flashviewplugin work in 0.11 — at Version 2
| Reported by: | Owned by: | yuanying | |
|---|---|---|---|
| Priority: | normal | Component: | FlashViewPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description (last modified by )
The following diff makes the plugin work in 0.11:
8a9
> from trac.wiki.macros import WikiMacroBase
50c51
< class FlashViewMacro(Component):
---
> class FlashViewMacro(WikiMacroBase):
62c63,64
< def render_macro(self, req, name, content):
---
> def expand_macro(self, formatter, name, args):
> #was: render_macro(self, req, name, content):
66c68
< args = content.split(',')
---
> req = formatter.req
Change History (3)
Changed 15 years ago by
| Attachment: | flashviewplugin.diff added |
|---|
comment:2 Changed 15 years ago by
| Description: | modified (diff) |
|---|
Note: See
TracTickets for help on using
tickets.



Better to put the diff in a file :-)