geneweb
geneweb copied to clipboard
Reduce duplicated text in places on a person page
A relatively simple hierarchical place text deduplication algorithm taking into account order of display could be applied as an option to person pages to avoid repetition of text, as would be done in a published genealogy. The primary edge case is localities with the same name in different higher-level administrative divisions.
I plan to implement this using two passes of RegExp search and replace at the page text level in a wrapper I have written for GeneWeb, but I would implement it in GeneWeb itself if it was wanted and easier.
The full place could be given in a tooltip, etc.
Example
after:
before:
before

great idea. Welcome back Michael.