Help talk:Outline format
Is a hierarchical outline identical to a tabbed outline form?[edit]
Is a hierarchical outline (mentioned in the result format template) identical to a tabbed outline form (mentioned in the definition within the first paragraph)? Thanks. --Linforest 13:39, 13 March 2012 (CET)
- [View source↑]
- [History↑]
Contents
Thread title | Replies | Last modified |
---|---|---|
Tree from recursive (same-category-pointing) property | 1 | 10:18, 24 December 2012 |
Intro and outro | 0 | 11:24, 26 September 2012 |
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).
You can actually do that with another format: "tree".