Tree from recursive (same-category-pointing) property

From semantic-mediawiki.org

Tree from recursive (same-category-pointing) property[edit]

This extension would be even more powerful if it enabled display of an outlined list based on a page property that points to zero, one or several pages of the same category as the page itself. It should be possible to implement an efficient, two-pass method by using a recursive procedure (pass two for the output) after loading all pages' names and pointer/s to other pages into memory (pass one). It must be possible to limit the number of levels by a parameter to prevent an eternal loop in case some page points to itself, or alternatively detect such a case and stop at this condition.

Use case: Category Persons containing pages with property Parent producing an outline going backwards in time from one person (i.e. genealogy).

17:47, 23 December 2012

You can actually do that with another format: "tree".

11:18, 24 December 2012