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 ?
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 ?
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.
Just use the [[TitleIndex]]
macro. See documentation. In your example it should be:
[[TitleIndex(MyDoc)]]