geneweb icon indicating copy to clipboard operation
geneweb copied to clipboard

Reduce duplicated text in places on a person page

Open mwhite opened this issue 5 years ago • 2 comments

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: Screenshot from 2020-07-01 01-07-15before:

before Screenshot from 2020-07-01 00-59-12

mwhite avatar Jul 01 '20 05:07 mwhite

great idea. Welcome back Michael.

hgouraud avatar Jul 01 '20 06:07 hgouraud