]> sipb.mit.edu Git - ikiwiki.git/blob - underlays/basewiki/directive/orphans.mdwn
add underlay files for listdirectives
[ikiwiki.git] / underlays / basewiki / directive / orphans.mdwn
1 The `orphans` directive is supplied by the [[!iki plugins/orphans]] plugin.
2
3 This directive generates a list of possibly orphaned pages -- pages that no
4 other page links to.
5
6 The optional parameter "pages" can be a [[ikiwiki/PageSpec]] specifying the
7 pages to check for orphans, default is search them all.
8
9 Note that it takes backlinks into account, but does not count inlining a
10 page as linking to it, so will generally count many blog-type pages as
11 orphans.
12
13 [[!if test="enabled(orphans)" then="""
14 Here's a list of orphaned pages on this wiki:
15
16 [[!orphans pages="* and !news/* and !todo/* and !bugs/* and !users/* and
17 !recentchanges and !examples/* and !tips/* and !sandbox/* and !templates/* and
18 !wikiicons/* and !plugins/*"]]
19 """]]