Extension:Semantic Genealogy

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
Semantic Genealogy
Release status: beta
Implementation Special page
Description Provides the ability to view genealogy trees and export GEDCOM files
Author(s)
Latest version 0.3.0 (2017-08-11)
MediaWiki 1.23+
PHP 5.4+
Database changes No
License GNU General Public License 2.0 or later
Download
README
RELEASE-NOTES
Parameters
  • $wgGenealogicalProperties
Translate the Semantic Genealogy extension if it is available at translatewiki.net
Check usage and version matrix.

The Semantic Genealogy extension provides the ability to view genealogy trees and export GEDCOM files.

Installation[edit]

Having MediaWiki (version 1.23 or higher), Semantic MediaWiki (version 1.7 or higher) installed is a precondition for the Semantic Genealogy extension. The code will not work without them.


  • Download and place the file(s) in a directory called SemanticGenealogy in your extensions/ folder.

Configuration[edit]

In your "LocalSettings.php" add e.g. the following statement after the inclusion of this extension:

$wgGenealogicalProperties = [
	'givenname' => 'Vorname',
	'surname' => 'Nachname',
	'nickname' => 'Kosename',
	'sex' => 'Geschlecht',
	'birthdate' => 'GebDatum',
	'birthplace' => 'GebOrt',
	'deathdate' => 'TodDatum',
	'deathplace' => 'TodOrt',
	'father' => 'Vater',
	'mother' => 'Mutter'
];

Replace the field values with the appropriate field names in your wiki. (The keywords in the second column probably need to be capitalized, so as to match the properties view of the pages.) The most importing obviously is to define the 'father' and 'mother' relationships correctly.

Usage[edit]

Go to special page "Special:FamilyTree", select a person and display either a tree of ancestors or descendants or a relationship to another person.

See also[edit]