![]() 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 | Download extension Git [?]: README RELEASE-NOTES |
Parameters
|
|
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
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 yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php
require_once "$IP/extensions/SemanticGenealogy/SemanticGenealogy.php";
file: - Configure as required.
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration
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
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
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.