Version 15 (modified by rjollos, 3 years ago) (diff)

Removed dead links.

Add a list of referring pages to your page


BackLinks 5.0 is a macro that can show you which wiki pages refer to the current page or to a page of your choice.

It is based on Andrew's and Muness's fixes (,,,

It has these modifications:

  • UTF-8 support. Finally you can use wiki pages with accented letters and other symbols. The original version works only for wiki names written in 7-bit ASCII.
  • Bugfix: the original version works only with links like these:
    [wiki:link description of link]
    and not links like:

Bugs/Feature Requests

Existing bugs and feature requests for BackLinksMacro are here.

If you have any issues, create a new ticket.


Download the zipped source from here.


You can check out BackLinksMacro from here using Subversion, or browse the source with Trac.


  • show which wiki-pages refer to actual page:
  • show which wiki-pages refer to page pagename:

Recent Changes

[13390] by rjollos on 2013-09-18 08:20:20
Generated href links were not correct in an environment with multiple projects. Fixes #5533.
[11969] by rjollos on 2012-09-11 07:08:25

Refs #5903, #9175, #9503:

  • Merged codebases for BackLinksMacro and BackLinksMenuMacro.
  • Modified SQL query to utilize Trac's database agnostic API. Possible matches are captured with a LIKE clause, and then filtered with a regex in the Python code.
[11968] by rjollos on 2012-09-11 00:57:28

Fixes #3773 (7.0dev)

  • Macro is now packaged for installation as an egg. Thanks to for the initial patch.
  • Removed some unused imports.
  • Minor refactoring of the macro.


Author: Trapanator
Maintainer: Trapanator