#10820 closed defect (fixed)
Link rules changed in Trac 1.0 (plug-in not detecting new link types)
Reported by: | Owned by: | Geert | |
---|---|---|---|
Priority: | normal | Component: | WantedPagesMacro |
Severity: | normal | Keywords: | |
Cc: | Geert | 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 (6)
comment:1 Changed 11 years ago by
Owner: | changed from Justin Francis to Ryan J Ollos |
---|---|
Status: | new → assigned |
comment:2 Changed 11 years ago by
Component: | WantedPagesPlugin → WantedPagesMacro |
---|
comment:3 Changed 11 years ago by
Cc: | Geert added; anonymous removed |
---|
See related discussion in trac:#11359.
comment:4 Changed 11 years ago by
Owner: | changed from Ryan J Ollos to Geert |
---|
comment:5 Changed 10 years ago by
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
comment:6 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
This feature was added automagically in changeset r14058.
The new way of checking links incorporates this automatically, because it renders the Wiki pages first and then looks for unresolved links.
Also added changeset r14410 and r14411: These add a few test cases and remove the dependency on OrderedDict()
Renaming plugin from WantedPagesPlugin to WantedPagesMacro.