page.getPageCrawler().traverseUncles("TemplateLibrary", new TraversalListener<WikiPage>() {
@Override
public void process(WikiPage uncle) {
for (WikiPage template : uncle.getChildren()) {
WikiPagePath templatePath = new WikiPagePath(template);
templatePath.makeAbsolute();
templatePaths.add(PathParser.render(templatePath));
}
}
});
return templatePaths;