App: WikiTree AGC
Developer: Robert Pavey
Genres: Productivity, Utilities

WikiTree AGC (Automatic GEDCOM Cleanup) is a Browser Extension that allows the user to reformat a profile that was created from a GEDCOM (by GEDCOMpare or the earlier GEDCOM import process).

Release notes:
* Keep lines starting with : after a source line with no span ID
* Improve the Note flattening for a case using the @Nxxx@ format
* Ignore invalid dates that are just symbols e.g. “__”
* Move the “There are additional sources with no facts or date.” section into the Research Notes section
* Ensure there are always 2 newlines before == Research Notes ==
* Improve parsing of GEDCOM file name
* Do not report an error for “:Date: DEAD”
* Handle AFN in format :Ancestral File Number:  5134-S7
* Recognize this string when checking for a GEDCOM import: ''This biography was auto-generated by a GEDCOM import....Heal-144 was created by [[Hart-4656 | Brian Hart]] through the import of Hart Family Tree.ged on Jun 21, 2014. ''This comment and citation can be deleted after the biography has been edited and primary sources are included.''... It's a rough draft and needs to be edited.''
* Handle the line “An explicit Surname and Married Name were both found.” in a name fact
* Ignore lines like “Couldn't find any valid last name at birth." “Couldn't find any valid first name."
* Convert links to templates even if in “other source lines”
* Recognize GEDCOM verbiage of the form “WikiTree profile Di Rocco-2 created through the import of “
* Preserve text of the form “Record ID Number: MH…”
* Do not report an error for “:Date: DECEASED”
* Handle standard GEDCOM verbiage at the end of a junk section - can happen due to merge
* Handle old sections with the heading === Source ===
* Handle WikiIDs with characters outside the basic Latin alphabet (e.g. Solé-666). This was preventing some of the standard GEDCOM sentences from being matched.
* Sometimes the junk sections (like “Data Changed”) have extra stuff at the end during a merge. This prevented AGC from being run. Change to put a note with the extra text in the Research notes.
* Handle profiles that have no sub-headings in the biography section - just create an empty biography.
* Turn more Ancestry family tree links into templates in older imports
* Handle the old === Source === section that has a different format
* Ignore lines like “:: Type:  3” in old GEDCOM imports