Opened 16 years ago

Last modified 7 years ago

#3734 closed enhancement

diff for making flashviewplugin work in 0.11 — at Version 2

Reported by: enno.rehling@… Owned by: yuanying
Priority: normal Component: FlashViewPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by Michael Renzmann)

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 16 years ago by enno.rheling@…

Attachment: flashviewplugin.diff added

Better to put the diff in a file :-)

comment:1 Changed 15 years ago by anonymous

The file cannot be downloaded. Can you attach the file again?

comment:2 Changed 15 years ago by Michael Renzmann

Description: modified (diff)
Note: See TracTickets for help on using tickets.