Edgewall Software

Ticket #611 (reopened enhancement)

Opened 4 years ago

Last modified 4 months ago

Backlinks

Reported by: siegfried@… Owned by: cboos
Priority: normal Milestone: 1.0
Component: wiki system Version: 0.7.1
Severity: normal Keywords: xref link backlink wiki
Cc: robert.pollak@…, number5@…, rsalveti@…, pphaneuf@…, martin.marcher@…, naesten@…, linuxadmin@…

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

Change History

  Changed 4 years ago by anonymous

See also #646

  Changed 4 years ago by yoz@…

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.

  Changed 4 years ago by danhon@…

Hello - I've put up a rudimentary BackLinks macro at the MacroBazaar.

  Changed 4 years ago by anonymous

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.

  Changed 4 years ago by cboos

  • owner changed from jonas to cboos
  • priority changed from low to normal
  • status changed from new to assigned
  • milestone set to 0.9

Actually, the suggested automatically displayed BackLinks are available by the way of TracCrossReferences.

  Changed 4 years ago by cmlenz

  • milestone changed from 0.9 to 1.0

Postponed to 1.0.

  Changed 3 years ago by robert.pollak@…

  • cc robert.pollak@… added

  Changed 3 years ago by Jan Finell

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.

  Changed 3 years ago by cboos

  • keywords xref added

  Changed 3 years ago by anonymous

  • cc number5@… added

  Changed 3 years ago by anonymous

  • status changed from assigned to closed
  • resolution set to fixed

  Changed 3 years ago by anonymous

  • status changed from closed to reopened
  • resolution fixed deleted

  Changed 2 years ago by anonymous

  • cc rsalveti@… added

  Changed 21 months ago by anonymous

  • cc pphaneuf@… added

  Changed 18 months ago by ThurnerRupert

#5505 marked as duplicated.

  Changed 16 months ago by anonymous

  • cc martin.marcher@… added

  Changed 16 months ago by anonymous

  • cc martin.marcher@… added; martin.marcher@… removed
  • Put in the wrong Mail Address
  • Just changed my own :)

  Changed 7 months ago by naesten@…

  • cc naesten@… added

follow-up: ↓ 20   Changed 5 months ago by Ivan G Shevchenko <linuxadmin@…>

  • cc linuxadmin@… 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...)

in reply to: ↑ 19   Changed 5 months ago by nkantrowitz

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...)

  Changed 4 months ago by anonymous

+1

Add/Change #611 (Backlinks)

Author



Change Properties
<Author field>
Action
as reopened
as The resolution will be set. Next status will be 'closed'
to The owner will change from cboos. Next status will be 'new'
 
Note: See TracTickets for help on using tickets.