ref=none is legitimate
This commit is contained in:
parent
746e3a3947
commit
c259ed2704
1 changed files with 1 additions and 1 deletions
|
|
@ -875,7 +875,7 @@ local function _cite_q (citeq_args)
|
|||
|
||||
-- handle supplied {{para|ref}} for readable ID, avoid CS1 duplicate default error
|
||||
local pubyear = yearFromDate(citeq_args['publication-date'])
|
||||
if citeq_args.ref then
|
||||
if citeq_args.ref and 'none' ~= citeq_args.ref then
|
||||
local citeref = make_citeref(names.authors or names.editors, pubyear)
|
||||
if citeq_args.ref == citeref then
|
||||
citeq_args.ref = nil -- avoid CS1 maint: ref duplicates default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue