Web based family history software

Question Showing two ages that differ

  • WGroleau
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 7 months ago #1 by WGroleau
Showing two ages that differ was created by WGroleau
Is it feasible to omit a calculated age when the record has an age explicitly stated?

--
Wes Groleau
UniGen.us/

Please Log in or Create an account to join the conversation.

  • fisharebest
  • Away
  • Administrator
  • Administrator
More
1 year 7 months ago #2 by fisharebest
Replied by fisharebest on topic Showing two ages that differ
We hide the calculated age when it is *different* from the recorded age.

I find it really useful/interesting to see these differences.

You could change the logic here:

github.com/fisharebest/webtrees/blob/mai...t-date.phtml#L85-L91

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • WGroleau
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 7 months ago #3 by WGroleau
Replied by WGroleau on topic Showing two ages that differ

We hide the calculated age when it is *different* from the recorded age.

I find it really useful/interesting to see these differences.

I’m not sure I understand. My image shows that it is different but not hidden.

I agree that there is value in seeing the difference, especially if it is not within rounding error.  But it might be confusing to visitors.  Maybe a small icon for which a hover (or click) would have a pop-up saying
Code:
_y _m _d after recorded birth
or change the tag text to "Age in record:" and put it on a separate line and change "aged" in the parentheses to "calculated age"
or both.
?

--
Wes Groleau
UniGen.us/

Please Log in or Create an account to join the conversation.

  • WGroleau
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 7 months ago #4 by WGroleau
Replied by WGroleau on topic Showing two ages that differ

I’m not sure I understand. My image shows that it is different but not hidden.

OK, I see why. The cited lines only apply if ($tag === 'DEAT' …)
My example was a census, and a browser search of
Code:
'CENS'
said it was not found in that file. Also, the comment above the code is "Only show age-difference for events that occur after death, not facts" which would not apply to a census record that shows the person as living.

--
Wes Groleau
UniGen.us/

Please Log in or Create an account to join the conversation.

  • fisharebest
  • Away
  • Administrator
  • Administrator
More
1 year 7 months ago - 1 year 7 months ago #5 by fisharebest
Replied by fisharebest on topic Showing two ages that differ
> I’m not sure I understand. My image shows that it is different but not hidden.

The calculated age would be hidden if it was the SAME as the recorded age.

In your example, the calculated age is 16y and the recorded age is 17y. So it is displayed.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Last edit: 1 year 7 months ago by fisharebest.

Please Log in or Create an account to join the conversation.

  • WGroleau
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 7 months ago #6 by WGroleau
Replied by WGroleau on topic Showing two ages that differ

The calculated age would be hidden if it was the SAME as the recorded age.

OK, no problem; I guess you omitted "not" before "different"

But am I right that the referenced file will not change how CENS is displayed?

--
Wes Groleau
UniGen.us/

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago #7 by HerzScheisse
Replied by HerzScheisse on topic Showing two ages that differ

Is it feasible to omit a calculated age when the record has an age explicitly stated?

I like how it is dislayed...

because often in the (church-)records there is a given age, and this is very often different from the "real" age...
so I use the age mentioned in record for the fact entry, and if its different from the real age, the calc. age will be displayed before the entered age...

webtrees 2.1.20 - modules: all vesta, faces, legal notice, privacy policy, fancy treeview, fancy research links
Linux Ubuntu | PHP 8.3.3 | MariaDB 10.5.23 | rewrite_urls="1"

Please Log in or Create an account to join the conversation.

  • WGroleau
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 7 months ago #8 by WGroleau
Replied by WGroleau on topic Showing two ages that differ

I like how it is dislayed...
because often in the (church-)records there is a given age, and this is very often different from the "real" age...
so I use the age mentioned in record for the fact entry, and if its different from the real age, the calc. age will be displayed before the entered age...
Being able to see the difference is useful, and also in my case, the difference between an estimated age and a calculated age. But I'd rather it be displayed in a way that won't confuse visitors.

For what it's worth, I have one ancestor who gained only eight years each US census. :-)

--
Wes Groleau
UniGen.us/

Please Log in or Create an account to join the conversation.

More
1 year 7 months ago - 1 year 7 months ago #9 by HerzScheisse
Replied by HerzScheisse on topic Showing two ages that differ

... But I'd rather it be displayed in a way that won't confuse visitors.

maybe you can write a FAQ entry (in case you are using this) to "teach" your tree visitors how these dates are used and displayed... Like I often do...
and maybe they are kinda curious why there are 2 dates displayed... so they can figure out whats causing these two entries... ;-)

For what it's worth, I have one ancestor who gained only eight years each US census. :-)

I can beat that! 10-12 years! Its a child of one of my ancestors who went to the U.S. and A. Dont know how this could happen... but they written down 1848 as Birth year... but its 1858... and even on his thombstone they messed up his birth year... 2 additional years... the research to prove that its the same person from my records took me some months... -.-

webtrees 2.1.20 - modules: all vesta, faces, legal notice, privacy policy, fancy treeview, fancy research links
Linux Ubuntu | PHP 8.3.3 | MariaDB 10.5.23 | rewrite_urls="1"
Last edit: 1 year 7 months ago by HerzScheisse.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum