wiki:WantedPagesMacro

Version 21 (modified by Ryan J Ollos, 9 years ago) (diff)

CamelCase page is installed locally.

Wanted Pages Macro

Description

Lists all wiki pages that are linked to but not created in wikis, ticket descriptions and ticket comments. That is, when a CamelCase identifier is listed in a wiki page, then a link is created to that page. However, if that page does not exist, then the link exists but the page is not created. For example, MyPageAbc is a link to MyPageAbc, which does not exist.

Bugs/Feature Requests

Existing bugs and feature requests for WantedPagesMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source for [download:wantedpagesmacro/0.9 0.9] or [download:wantedpagesmacro/0.10 0.10] or [download:wantedpagesmacro/trunk 0.11/0.12/1.0].

Install

You must have setuptools installed.

Run the following commands in the source directory:

  python setup.py bdist_egg
  cp dist/*.egg /path/to/projenv/plugins

For more information, see TracPlugins.

You also have to enable it in the trac.ini file for the environment:

[components]
wantedpages.* = enabled

Source

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

Example

[[WantedPages]] lists all wiki pages that are linked to, but do not exist.

[[WantedPages(show_referrers)]] does the same thing, but also lists the pages that contain the broken links.

[[WantedPages(ignored_referrers=<regex>)]] does the same thing, but ignores referring pages that match the regular expression <regex>, eg [[WantedPages(show_referrers,ignored_referrers=^Wiki[HP]|^Trac)]].

Recent Changes

17887 by rjollos on 2020-12-03 05:33:09
TracWantedPages 0.6: Publish version 0.6

Version 0.6 is r17745.

Bump trunk to 0.7.0dev.

Refs #13913, #13860, #12803.

17885 by rjollos on 2020-12-01 13:30:00
TracWantedPages 0.6dev: Fix parsing of anchors in headings

Refs #13913.

17884 by rjollos on 2020-12-01 09:27:44
TracWantedPages 0.6dev: Fix malformed markup resulting in exception

Make fetching of wiki pages more efficient.

Fixes #13913.

(more)

Author/Contributors

Author: jfrancis
Maintainer: Geert
Contributors: