Modify ↓
#13316 closed enhancement (fixed)
Adapt to Trac 1.4 API
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | TagsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
This continues some work started in #12788.
Attachments (0)
Change History (9)
comment:1 Changed 7 years ago by
comment:2 Changed 7 years ago by
Status: | assigned → accepted |
---|
comment:5 Changed 7 years ago by
I knew I would end up leaving that debug statement in there. Sloppy!
comment:7 Changed 7 years ago by
I think we should use 1.3.1 rather than 1.2.3 for supporting Jinja2. We could use hasattr(Chrome(self.env), 'jenv')
also.
- if parse_version(__version__) < parse_version('1.2.3'): + if parse_version(__version__) < parse_version('1.3.1'):
However, admin_tag_change.html@17046 is still Genshi template. The render_admin_panel
should return 'admin_tag_change.html', data, None
.
See trac:wiki:TracDev/PortingFromGenshiToJinja#PanelProviders.
Note: See
TracTickets for help on using
tickets.
After r16924, the following error is seen on the Wiki edit page: