Can the warning message for unmatched <ref> tags be improved.

+11 votes
110 views
The additional warnings for possible data entry errors are a big help, especially for my poor typing.

I have received this message several times.

Warning: Check the data.
The biography has unmatched <ref> tags.

The error was not unmatched tags but a missing quotation mark in an indirect reference.

I had typed <ref name=IndRef"> and missed the leading quotation mark.  Can we improve the warning?
asked in WikiTree Tech by Philip Smith G2G6 Pilot (236k points)
retagged by Abby Glann
Good grief - thank you Philip. Have gotten this warning after completing merges and usually can find the problem, but there were a few that after spending 15+ minutes, carefully inspecting every line, couldn't find the <ref> error and gave up. They did have this multi use tag and never thought of looking at quotation marks :/

By the way, you don't need to put quotation marks in the 'name=' bit unless you're naming your citation with spaces between your words. 

eg.

<ref name=IndRef> OR <ref name="Ind Ref">

and also checking that all <ref name="xxx"/> has a target xxx

1 Answer

+6 votes
I'll put it on our todo list, Philip. The data validation for this is still new, so we appreciate the feedback.
answered by Abby Glann G2G6 Pilot (352k points)
Thank you Abby.

It is nice having the new data validation.

I have seen issues if there are spaces, i.e.

<ref name= myref >  causes a ref error

<ref name=myref> passes check

What confuses alot of people is the FIRST one is <ref name=my> reference <ref/> and then every subsequent one is <ref name =myref/> This gives 1 numbered reference in sources and a number wherever it matches up.

I have found that it does not have to be the first use, just as long as there is one...  for instance, for the birth data I can use He was born about 1903<ref name=1910Census/><ref name=1920Census/><ref name=1930Census/><ref name=1940Census/>

and then later have

===Residence===

:1910 Chicago, Cook, Illinois<ref name=1910Census>all the stuff from the census with names, birth dates and locations, occupations, etc</ref>

:1920 Chicago, Cook, Illinois<ref name=1920Census>all the stuff from the census with names, birth dates and locations, occupations, etc</ref>

:1930 Chicago, Cook, Illinois<ref name=1930Census>all the stuff from the census with names, birth dates and locations, occupations, etc</ref>

:1940 Chicago, Cook, Illinois<ref name=1940Census>all the stuff from the census with names, birth dates and locations, occupations, etc</ref>

this keeps all of the source data with the primary location and keep the birthdate listing a little more readable when in edit mode, i.e. NOT

He was born about 1903<ref name=1910Census>all the stuff from the census with names, birth dates and locations, occupations, etc</ref><ref name=1920Census>all the stuff from the census with names, birth dates and locations, occupations, etc</ref><ref name=1930Census>all the stuff from the census with names, birth dates and locations, occupations, etc</ref><ref name=1940Census>all the stuff from the census with names, birth dates and locations, occupations, etc</ref>

Related questions

+5 votes
2 answers
+2 votes
2 answers
+5 votes
1 answer
131 views asked May 16 in WikiTree Help by William Foster G2G6 Mach 4 (43.2k points)
+9 votes
3 answers
+4 votes
3 answers
82 views asked Mar 4 in WikiTree Tech by Bertram Sluys G2G6 Mach 1 (12.9k points)
+5 votes
1 answer
69 views asked Dec 8, 2017 in WikiTree Help by Gaston Tardif G2G6 (8.8k points)
+4 votes
3 answers
73 views asked Apr 4 in Policy and Style by Susan Fitzmaurice G2G6 Mach 3 (36.7k points)
+6 votes
3 answers
69 views asked Feb 14 in The Tree House by Beulah Cramer G2G6 Pilot (131k points)

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...