Modify

Opened 5 years ago

Closed 5 years ago

#13726 closed defect (fixed)

Import 'sorted', context and interface error for Trac 1.4

Reported by: Oleg Vassin <oleg.vassin@…> Owned by: Ryan J Ollos
Priority: normal Component: KeywordReplacePlugin
Severity: normal Keywords: context
Cc: Trac Release: 1.4

Description

  • .py

    old new from trac.core import * 
    3 from trac.util import escape, Markup, reversed, sorted
     3from trac.util import escape, Markup, reversed
    from trac.wiki.formatter import format_to_oneliner 
    8 from trac.mimeview import Context
     8from trac.web.chrome import web_context as get_context
    class KeywordReplace(Component): 
    55         context = Context.from_request(formatter.req, formatter.resource)
     55        context = get_context(formatter.req, formatter.resource)
    class KeywordReplace(Component): 
    72     def wiki_page_changed(self, page, version, t, comment, author, ipnr):
     72    def wiki_page_changed(self, page, version, t, comment, author):

Attachments (0)

Change History (6)

comment:1 Changed 5 years ago by Oleg Vassin <oleg.vassin@…>

Trac Release: 1.4

comment:2 Changed 5 years ago by Ryan J Ollos

Owner: changed from Bangyou Zheng to Ryan J Ollos
Status: newaccepted

comment:3 Changed 5 years ago by Ryan J Ollos

Keywords: sorted interface removed

comment:4 Changed 5 years ago by Ryan J Ollos

In 17653:

TracKeywordReplace 1.0dev: Branch for Trac 1.0

Refs #13726.

comment:5 Changed 5 years ago by Ryan J Ollos

In 17654:

TracKeywordReplace 1.0dev: Make compatible with Trac 1.0+

Refs #13726.

comment:6 Changed 5 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.