Do we or don't we need quotation marks in a named ref?

+10 votes
348 views

I recently heard that if a named reference isn't included in quotation marks then it will generate a db_error.

  1. Is this true?
  2. named references seem to work with or without quotation marks, so if it is true, why is there such an error?
I've got project volunteers using both approaches and I need to know how to advise them. 
Thanks.
in WikiTree Tech by Jillaine Smith G2G6 Pilot (907k points)

Jillaine, I think if there are spaces in the ref name then quote marks are needed. If there are no spaces then the quote marks are optional. For example, "Find A Grave" would need quote marks but FindAGrave would not. That has been my experience.

That's been my experience as well.
If quotes are used, make sure they are not the curly 'smart' quotes from Word documents, or you will get DBE 871 Use of angled double quotes in name of citation.

3 Answers

+14 votes
 
Best answer

Technically, quotation marks are not needed as long as you don't use spaces or special characters like " ' ` = < or >.

Practically, using quotes increases readability. Using them consistently can head off the accidental error that will occur if you use those special characters.

by Tim Varney G2G6 (7.8k points)
selected by William Foster
+8 votes

I've used them without for awhile now with no errors generated

the only named inline citation error is when the original named citation is missing. In other words someone put <ref name=citation /> without having <ref name=citation>this is the example original citation</ref> somewhere in the text

by Azure Robinson G2G6 Pilot (555k points)

Also, DBE 869 Duplicated named inline citations when the same ref name is defined multiple times.  

Profile is defining the inline citation by "<ref name="SomeName">"..."</ref>" multiple times instead of using  "<ref name="SomeName" />" on the subsequent usages.

+7 votes
I've used them without for a while - my typical <ref name=xxxx> is short, usually no more than 5 characters..

rsl
by Roy Lamberton G2G6 Mach 8 (81.0k points)

Related questions

+6 votes
6 answers
+3 votes
2 answers
+6 votes
1 answer
284 views asked May 16, 2018 in WikiTree Help by William Foster G2G6 Pilot (121k points)
+7 votes
2 answers
+7 votes
3 answers
175 views asked Feb 14, 2018 in The Tree House by Beulah Cramer G2G6 Pilot (567k points)
+6 votes
3 answers
227 views asked Apr 4, 2018 in Policy and Style by Susan Fitzmaurice G2G6 Mach 6 (62.0k points)
+7 votes
3 answers
235 views asked Mar 4, 2018 in WikiTree Tech by Bertram Sluys G2G6 Mach 3 (37.4k points)
+10 votes
6 answers

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

disclaimer - terms - copyright

...