#3860 closed enhancement (wontfix)
Consider "Negotiating" suffixes
Reported by: | izzy | Owned by: | Shun-ichi Goto |
---|---|---|---|
Priority: | normal | Component: | TocMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
We have the TracWikiNegotiatorPlugin installed, which supports serving pages depending on their extension and the users language preference. Now one of the things not conforming to this is the TocMacro. What we would like to see is best explained by examples:
Say we have the Wiki articles Give, Give.en, Some, Example and Example.en - and I am using the TocMacro in Give.en as [[TOC(Give,Some,Example)]]
. It would be nice if the TocMacro now first checks the extension of the current page (.en), and thus includes the other matching pages (if available), and only falls back for those who don't have it. So in this example, it would index Give.en, Some, and Example.en
Same applies especially to things like [[TOC(example/*]]
(which may a bit more difficult to realize, since no page is mentioned explicitly), and of course the other way round (if the page calling TocMacro has no suffix, pages without suffix are to be preferred).
Of course, all these things are only needed to be considered when the TracWikiNegotiatorPlugin is in use.
Attachments (0)
Change History (5)
comment:1 Changed 16 years ago by
Keywords: | TracWikiNegotiatorPlugin TocMacro removed |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
comment:2 Changed 16 years ago by
Component: | TocMacro → TracWikiNegotiatorPlugin |
---|---|
Resolution: | wontfix |
Status: | closed → reopened |
OK - so I pass it on there (sorry to re-open - but the description stays the same, so I thought this is the best way).
@gotoh: I hope you will accept this?
comment:3 Changed 16 years ago by
Owner: | changed from Noah Kantrowitz to Shun-ichi Goto |
---|---|
Status: | reopened → new |
comment:4 Changed 16 years ago by
Component: | TracWikiNegotiatorPlugin → TocMacro |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Given that I don't won't be CCd on every change to this ticket, open a new one.
Far too much of a special case. The negotiation plugin should consider offering its own TOC system, possible subclassing from TocMacro.