Question

I create some documentation in the Trac wiki. I set these pages to all start with the same pattern (like "MyDoc..."). I want to retrieve from Trac all the wiki page links for the pages starting with this pattern.

Is there a way to do so ?

Was it helpful?

Solution

Just use the [[TitleIndex]] macro. See documentation. In your example it should be:

[[TitleIndex(MyDoc)]]

OTHER TIPS

How I did it : GET the wiki/TitleIndex page, look for each <a href="..."/>, analyze the content of href attribute and if matching my pattern, add the link to the list.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top