Extension:Semantic Genealogy

MediaWiki extensions manual
Semantic Genealogy
Release status: unmaintained
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

  • $wgGenealogicalProperties
Translate the Semantic Genealogy extension if it is available at translatewiki.net

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 move the extracted SemanticGenealogy folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SemanticGenealogy
  • Add the following code at the bottom of your LocalSettings.php file:
    require_once "$IP/extensions/SemanticGenealogy/SemanticGenealogy.php";
    
  • Configure as required.
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

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