id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 3895 Provide Trac API for returning all outbound links in a page anonymous "I have a suggestion that could kill a lot of birds with one stone. I see a lot of people asking for functionality in Trac that relates to connections between pages (Backlink, Orphaned Pages, and MissingLinks among them). I see some attempts by the community to provide that functionality. I also see that those attempts are: 1) Very poor, and 2) getting poorer by the day. The reason they are getting poorer is that Trac already matches on a large array of patterns. The bar is set fairly high, and the current plugins do not meet it. Also, the Trac development team routinely introduces new additions/changes that increase the number of ways to connect two pages. There is really no way for the plugin community to catch up. Instead of asking us to do so, I ask you to help us help you: Please provide (and document) an API function that takes some sort of reference to a Trac document (name perhaps) and returns a set of all outbound links from that page. This functionality should identically match (or perhaps replace?) the functionality Trac uses to generate and HTML page. As new patterns are added to the system, plugins would then automatically detect the new links. With this function as a basis, a host of other functions could be provided, correctly, by the community. If and when Trac tracks links between pages, the API could be modified to use the stored information, rather than calculating it on the fly. " enhancement new normal topic-wikiengine wiki system 0.10 major links xref