Opened 14 years ago
Closed 10 years ago
#9797 closed enhancement (fixed)
Add configurable prefix for linking tags to wiki pages
| Reported by: | Owned by: | Steffen Hoffmann | |
|---|---|---|---|
| Priority: | normal | Component: | TagsPlugin |
| Severity: | normal | Keywords: | wiki page |
| Cc: | Ryan J Ollos | Trac Release: | 0.12 |
Description (last modified by )
I like the tags linking to wiki pages, but I would very much like them to reside below a certain "folder", or at least let them have a prefix.
For example, I prefer my tag "myTag" to link to wiki:tags/myTag instead of wiki:myTag.
Attached is a patch that adds a new configuration option, wiki_page_link_prefix, which does exactly that. The only place it doesn't patch (to my knowledge) is the "Create Wiki page" link in the tag_view.html template, because I didn't know how to do that.
Attachments (1)
Change History (7)
Changed 14 years ago by
| Attachment: | tractags-wiki_page_link_prefix.patch added |
|---|
comment:1 Changed 14 years ago by
| Cc: | Ryan J Ollos added; anonymous removed |
|---|---|
| Description: | modified (diff) |
| Keywords: | wiki page added |
comment:2 follow-up: 3 Changed 14 years ago by
Yes, I do understand, and while some exactly like the current behavior, some may appreciate tags wiki page separation into a configurable common wiki name-space.
Actually making the link configurable shouldn't be too hard, but I hesitate to go with the proposed option name. I feel more comfortable with wiki_page_prefix instead - shorter is better. Comments?
comment:3 Changed 14 years ago by
Replying to hasienda:
I feel more comfortable with
wiki_page_prefixinstead - shorter is better. Comments?
None by me, in case you're asking. Mine was merely a suggestion. wiki_page_prefix should be pretty unambiguous.
comment:4 Changed 14 years ago by
I think wiki_page_prefix is appropriate given the existing wiki_page_link option.



corrected example according to better reflect request's intention