Opened 20 years ago
Last modified 9 months ago
#611 new enhancement
Backlinks
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | next-major-releases |
Component: | wiki system | Version: | 0.7.1 |
Severity: | major | Keywords: | xref link backlink wiki |
Cc: | robert.pollak@…, number5@…, rsalveti@…, pphaneuf@…, martin.marcher@…, naesten@…, linuxadmin@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
A nice feature would be automatic backlink generation for wikipages.
if there is intrest in this sugested enhancement i would like to contribute in coding this feature (wih a little guidance)
keep up the good work!
Attachments (0)
Change History (28)
comment:1 by , 20 years ago
comment:2 by , 20 years ago
I'd like to register my interest in this as a user - we've only just installed Trac and already our users want this feature! If you can provide it, it would be seriously appreciated.
comment:4 by , 20 years ago
In Trac, (a subset of) the BackLinks should be displayed by default in conjunction with a ticket or change set. This would be better than explicitly including a list of BackLinks with a macro (or requesting BackLinks via a search form).
Candidates for automatically displayed BackLinks are:
- All other tickets referencing some ticket.
- All change sets referencing some ticket.
- All tickets referencing some change set.
- All change sets referencing another change set.
comment:5 by , 20 years ago
Milestone: | → 0.9 |
---|---|
Owner: | changed from | to
Priority: | low → normal |
Status: | new → assigned |
Actually, the suggested automatically displayed BackLinks are available by the way of TracCrossReferences.
comment:7 by , 19 years ago
Cc: | added |
---|
comment:8 by , 19 years ago
I hacked in a "automatic" back links feature using the BackLinks macro found in the MacroBazaar.
First I created a "BackLinks" wiki page with just simply the following code:
[[BackLinks()]]
Then I modified the BackLinks macro a bit:
13c13,14 < --- > if thispage == 'BackLinks': > thispage = hdf.getValue('args.referer', thispage)
And finally I added this line to the ctxtnav section of wiki.cs template:
<li><a href="<?cs var:$trac.href.wiki ?>/BackLinks?referer=<?cs var:$wiki.page_name ?>">Back Links</a></li>
This will add a "Back Links" link to the top navigation bar of all wiki pages and clicking that link will show a new page with all BackLinks to the page.
comment:9 by , 19 years ago
Keywords: | xref added |
---|
comment:10 by , 19 years ago
Cc: | added |
---|
comment:11 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:12 by , 19 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:13 by , 18 years ago
Cc: | added |
---|
comment:14 by , 18 years ago
Cc: | added |
---|
comment:16 by , 17 years ago
Cc: | added |
---|
comment:17 by , 17 years ago
Cc: | added; removed |
---|
- Put in the wrong Mail Address
- Just changed my own :)
comment:18 by , 17 years ago
Cc: | added |
---|
follow-up: 20 comment:19 by , 16 years ago
Cc: | added |
---|---|
Keywords: | link backlink wiki added |
sorry for "question-spamming", but why postpone this (as far as i can judge) near-trivial feature?
when to expect 1.0? 3 years from now? (if one looks at the roadmap of completed milestones…)
comment:20 by , 16 years ago
Replying to Ivan G Shevchenko <linuxadmin@yandex.ru>:
sorry for "question-spamming", but why postpone this (as far as i can judge) near-trivial feature?
It is far from trivial. If you disagree, please feel free to contribute a patch.
when to expect 1.0? 3 years from now? (if one looks at the roadmap of completed milestones…)
comment:23 by , 14 years ago
Milestone: | triaging → next-major-0.1X |
---|---|
Severity: | normal → major |
comment:24 by , 12 years ago
This feature will be appreciated. Backlinks in wiki pages are convenient for navigation.
follow-up: 26 comment:25 by , 11 years ago
This ticket was opend 10 years ago. Is there a planned release date or is this never going to happen. Well, in the second case, please close with "won't fix" so people know what to expect.
comment:26 by , 11 years ago
Replying to d.ziegenberg@…:
This ticket was opend 10 years ago. Is there a planned release date or is this never going to happen. Well, in the second case, please close with "won't fix" so people know what to expect.
As I'm sure we're going to see more of this kind of question, here's a generic answer: ThisTicketWasOpenedTenYearsAgo ;-)
comment:27 by , 10 years ago
Owner: | removed |
---|---|
Status: | reopened → new |
comment:28 by , 4 years ago
th:TracBackLinkPlugin implements the feature requested in this ticket and some more.
The plugin supports:
- Wiki pages
- Tickets
- Changesets
- Milestones
I'm not the author.
See also #646