Modify

Opened 20 months ago

Last modified 7 weeks ago

#10820 assigned defect

Link rules changed in Trac 1.0 (plug-in not detecting new link types)

Reported by: paulcoddington@… Owned by: glinders
Priority: normal Component: WantedPagesMacro
Severity: normal Keywords:
Cc: glinders Trac Release: 1.0

Description

A heads up that the interpretation of text as links in Trac 1.0 is somewhat different to that of previous versions.

For example:

This sentence Contains/Link/Now where it didn't before.

The phrase "Contains/Link/Now" is now considered a link by Trac 1.0, but it is not detected by WantedPagesPlugin.

Attachments (0)

Change History (5)

comment:1 Changed 9 months ago by rjollos

  • Owner changed from jfrancis to rjollos
  • Status changed from new to assigned

comment:2 Changed 8 months ago by rjollos

  • Component changed from WantedPagesPlugin to WantedPagesMacro

Renaming plugin from WantedPagesPlugin to WantedPagesMacro.

comment:3 Changed 8 months ago by rjollos

  • Cc glinders added

See related discussion in trac:#11359.

comment:4 Changed 8 months ago by rjollos

  • Owner changed from rjollos to glinders

Reassigning tickets to glinders, assuming adoption request in #11491 will be approved.

comment:5 Changed 7 weeks ago by rjollos

I'm not sure if we discussed this before, but Trac 1.0 supports Python 2.5-2.7, Trac 1.2 will support 2.6-2.7. The use of OrderedDict in [14058] will result in the plugin only being usable with Python 2.7.

One solution would be to add the OrderedDictionary for Python 2.4 to a compat.py module:

try:
    from collections import OrderedDict
except ImportError:
    from wantedpages.compat import OrderedDict
Last edited 7 weeks ago by rjollos (previous) (diff)

Add Comment

Modify Ticket

Action
as assigned .
Author


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

 
Note: See TracTickets for help on using tickets.