The recent ref tag errors is driving me bonkers!

0 votes
319 views

868 Inline citations after <references /> tag

So where is the error?

WikiTree profile: Walter Gill
in The Tree House by Jo Gill G2G6 Pilot (171k points)
Maybe it's where you have a citation under "Record Abstracts", which is under the references tag?

3 Answers

+6 votes
 
Best answer
This line:

===Record Abstracts===

Ireland, Catholic Parish Registers, 1655-1915 <ref name=Baptism /> -

is in there after the <references/> tag. Should be up in the bio BEFORE the <reference/> tag.
by Natalie Trott G2G Astronaut (1.4m points)
selected by Deb Durham
I think named refs work fine after the <references /> tag, so long as the footnote body <ref name=blah>Footnote body text here</ref> is above the <references /> tag.
They might "work" but they are causing this error because they are not  supposed to be after the <references/> tag.
They may be allowed during editing, but if you look at it in Preview, you won't see the 'footnote' for that item with the other sources, so there is no 'explanation' for what the number means

If you do

Blah.<ref name=foo>Footnote footnote footnote.</ref>  Blah.

<references />

Later

More blah.<ref name=foo />  More blah.

It comes out as

Blah.[1] Blah.

  1. Footnote footnote footnote.

Later

More blah.[1] More blah.

as intended.  There isn't a problem.

Actually, it does mean you don't get the backlink.  So in that example it just says

1. 

instead of

1. 1.0 1.1

This might be an advantage.  Those decimal-point backlinks are ugly.  Wikipedia got rid of them.

RJ,  The problem is that they are not using the ref name 'after' the references line.  When a <ref> citation info </ref> is entered after the 'references/' line, the number is shown with the entry, but that number will not be up above with the footnotes so the 'citation info' is not being shown.
+8 votes
Think of <references/> as a container.

If <ref>something</ref> is in the biography then it gets collected and then it gets listed under <references/>

If <ref>something else</ref> is after <references/> it does not appear to get collected.

(I've resolved 2 occurrences of this issue in my 'weekly debrief')
by Richard Shelley G2G6 Pilot (249k points)
Yes.  But in the example given above, we're only talking about <ref name=blah /> appearing after <references />.  The footnote content has already been collected earlier.
0 votes
I fixed it you forgot an inline reference breaker like <ref instead of <ref> that's given you the error.

Glad Is could help you,

Good Lucky next time.

Herman
by Herman Overmars G2G6 Mach 4 (45.5k points)
edited by Herman Overmars

sorry, but that "fix" was incorrect. I reverted it.

That was the correct syntax for a named ref

open angle bracket, tag name(ref), space, optional name=value pairs, close bracket -- citation text -- closing tag

<ref name=Baptism> citation text </ref>

I think iam the one tot say sorry Dennis.

Din't see that, onely the open bracket.

I Will do better next time.
no worries... thanks for jumping in there and trying to help :)
Beautiful example, thank you.

Some example have quotes around the ref name, i.e. "Baptism" so I put quotes in mine.  So wrong.
Quotes are fine.  I think it's a moot point whether to recommend them.  They can avoid a source of errors, but they can also create one, because if you use them, you have to do them right - you can't mistype them or mispair them or use the wrong sort.  We who can't type have less trouble if we leave them out.
I, too, shall omit the quotes.

Related questions

+1 vote
1 answer
176 views asked Jun 13, 2022 in Genealogy Help by Janice Sawitoski G2G6 Mach 2 (20.0k points)
+5 votes
2 answers
+8 votes
0 answers
156 views asked Jun 27, 2017 in WikiTree Tech by Andy Groshans G2G1 (1.8k points)
+32 votes
3 answers
416 views asked Jun 7, 2017 in The Tree House by Eowyn Walker G2G Astronaut (2.5m points)
+1 vote
1 answer
189 views asked Apr 26, 2019 in WikiTree Help by Judy Bramlage G2G6 Pilot (217k points)
+15 votes
2 answers
+6 votes
4 answers
+5 votes
1 answer
90 views asked Dec 8, 2023 in WikiTree Help by Jo Masterson G2G6 (7.7k points)

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

disclaimer - terms - copyright

...