Content deleted Content added
Adamant.pwn (talk | contribs) date should be in "" |
Adamant.pwn (talk | contribs) No edit summary |
||
Line 224:
citeq_args.url = getValue( {"P856", ps = 1, qid = citeq_args.qid, maxvals=0, citeq_args.url } ) -- try official website
citeq_args.url = getValue( {"P2699", ps = 1, qid = citeq_args.qid, maxvals=0, citeq_args.url } ) -- try url
if not citeq_args.title then
citeq_args.title = mw.wikibase.getSitelink(citeq_args.qid)
if citeq_args.title then
citeq_args.url = nil
citeq_args.title = '[[' .. citeq_args.title .. ']]'
else
citeq_args.title = mw.wikibase.getLabel(citeq_args.qid)
end
end
|