MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=familytreemap
(main | familytreemap)
- This module requires read rights.
- Source: FamilyTreeMap
- Licence: GPL-2.0-or-later
Specific parameters:
Other general parameters are available.
- roots
(no description)
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- direction
(no description)
- One of the following values: ancestors, both, descendants
- Default: both
- depth
(no description)
- Type: integer
- Default: 0
- maxnodes
(no description)
- Type: integer
- Default: 0
- continuation
(no description)
- Default: (empty)
Example:
- Fetch 4 generations of ancestors and descendants centred on James Marshall.
- api.php?action=familytreemap&roots=James_Marshall&direction=both&depth=4 [open in sandbox]