diff --git a/module_citeq.lua b/module_citeq.lua index 1ae2e63..66c7367 100644 --- a/module_citeq.lua +++ b/module_citeq.lua @@ -920,6 +920,7 @@ local function _cite_q (citeq_args) if citeq_args.ref == citeref then citeq_args.ref = nil -- avoid CS1 maint: ref duplicates default else + tableset_add(opt_cat, cfg.i18n_t.trackingcats['supplied-ref']) local tpara = frame:expandTemplate{ title = 'para', args = {'ref', citeq_args.ref} } -- TODO: format and i18n this string cq_errors = cq_errors .. ' {{[[Template:Cite Q|Cite Q]]}}: supplied ' .. tpara .. ' does not match value generated from Wikidata: ' .. citeref .. ' ([[Template:Cite Q#Error messages|help]]) ' diff --git a/module_citeq_config.lua b/module_citeq_config.lua index 35dc8fa..560edae 100644 --- a/module_citeq_config.lua +++ b/module_citeq_config.lua @@ -33,6 +33,7 @@ local i18n_t = { ["unknown-author"] = "", -- [[Category:Cite Q - author unknown]] removed as misplaced; someone is welcome to restore it if it is placed outside of the template parameter value ["unknown-template"] = "[[Category:Cite Q - template unknown]]", ["missing-author-first-last-names"] = "[[Category:Cite Q - authors with missing given and family names]]", + ["supplied-ref"] = "[[Category:Cite Q - supplied citeref does not match]]", }, }