Import from Wikitree

GRAMPS: AIO64-5.2.3-r1-aa03f5a
Python: 3.11.9
BSDDB: 6.2.9 (6, 0, 30)
sqlite: 3.46.0 (2.6.0)
LANG: en_US.UTF-8
OS: Windows

I just imported quite a few profiles into Gramps from a Gedcom I had created in Wikitree from certain of my ancestors. Gramps placed the Gedcom name into Source Citations in the People tab, in the format “Import from 34619277-846f5c.ged”. That is fine.

However, also Gramps placed the Wikitree-specific source data into the Gramps People tab “Internet”, under Type “Web Home” with data in format https://www.WikiTree.com/wiki/[wikitree ID].
[EDIT: the actual text is the “https” URL for the Wikitree ID]

I had expected these person-specific source citations would have gone into Source Citations. Is there a way to move them in Gramps from the Internet tab to the Source Citations tab?

Did you use the WikiTree’s Special:DownloadGedcom page to export the data?

WikiTree uses several methods of adding sources. Some are simple citations as test, Some are templates. Some are “References”

So we’d probably need to see the GEDCOM that it exports to understand what should happen on import.

Bad news. I did an experimental export with known profiles.

Their WikiTree GEDCOM export does not even try to break out Sources. So… no. You’re going to be stuck with manually adapting the Notes into Sources and Citations.

But more importantly, WikiTree mangles the standard GIVN (Given name) tag by (inconsistently) stripping the “middle name” out into a custom _MIDN tag. That means that it is better to corrupt the GIVN (pre-process the GEDCOM with plain text editor, using the Find&Replace into a _GIVN) so that it forces Gramps to re-parse the more consistently formatted NAME tag data into normal GIVN and SURN (Surname) data.

Gramps DOES recognize their custom _MARN (Married Name) into an alternative name of “Married Name” type.

It could be improved by writing the _PGVN (preferred Given) to the Nickname. (Originally, I thought this would correspond to the Gramps “Call Name”. But Gramps requires the Call Name to be an exact match of the Given Name. WikiTree allows short forms, translations, et cetera. So Nickname is the only possible bucket.)

The REFN (REFN.wikitree.user_id, REFN.wikitree.page_id, REFN.wikitree.privacy) and WWW tag handling cannot be improved until Gramps implements a schema for a UUID.

I used the Special:DownloadGedcom page in Wikitree to create the Gedcom export file.
Gedcom from Wikitree.pdf (24.5 KB)
Attached is an excerpt of that file [properly redacted as to personally identifying info] that might help.

Thank you for your assistance.

Your sample has all the same issues outlined above.

The only improvements that are immediately viable are:

  1. mangling the bad GIVN to avoid incomplete Given Names
  2. search and replace: change to the WikiTree custom tag _PGVN to the standard GEDCOM tag NICK

The WikiTree section of the “Import from_another genealogy program” wiki article has been slightly improved.