Module:Cite Q: Difference between revisions

Content deleted Content added
minor tweak so that the qid parameter works
per edit request on talk page - enable subtitles as stated in the to do list and depicted at test cases page
Line 1:
-- Version: 2021-0810-2119
 
local p = {}
Line 498:
 
if not titleforced then
-- Handle subtitle.
if citeq_args.title then
local subtitle = mw.wikibase.getBestStatements (qid, 'P1680');
if 0 ~= #subtitle then
subtitle = subtitle[1].mainsnak.datavalue.value.text;
citeq_args.title = citeq_args.title .. ": " .. subtitle
end
end
local htmltitle = getValue( {"P1476", qual = "P6833", ps = 1, qid = qid, maxvals = 1, qo = "y"} )
if htmltitle then