I am creating some documentation on the Trac wiki. I set these pages for everyone starting with the same template (for example, "MyDoc ..."). I want to extract from Trac all the wiki page links for pages starting with this template.
Is there any way to do this?
Just use the macro [[TitleIndex]]. See the documentation . In your example, this should be:
[[TitleIndex]]
[[TitleIndex(MyDoc)]]
How I did it: Get the wiki / TitleIndex page, find each <a href="..."/>, analyze the contents of the href attribute and, if you match my template, add the link to the list.
<a href="..."/>
Source: https://habr.com/ru/post/1711251/More articles:What is the easiest way to create multi-page archives on Unix? - linuxnetwork problems xna - c #Как запустить внешний инструмент в Eclipse в режиме отладки - javaWhy is inserting 1M records slower without a transaction than inside a transaction? - databaseHow can I check enumeration types as arguments to a Perl routine? - enumsSelecting an element with a specific class and identifier - cssMSMQ message throttling / message prioritization - c #How do you calculate the height of a triangle with only the hypotenuse and the relationship of the other two sides? - mathWhere is the .NET 2.0 GAC under Windows Server 2003? - .netThinking OO with TDD - where to start? - c #All Articles