Content deleted Content added
No edit summary |
rm misplaced tracking category |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 3:
local p = {}
require('
local wdib = require('Module:WikidataIB')
local getValue = wdib._getValue
Line 12:
local i18n = {
["unknown-author"] = mw.wikibase.getLabel("Q4233718"):gsub("^%l", mw.ustring.upper),
["unknown-author-trackingcat"] = "", -- [[Category:Cite Q - author unknown]]
["ordinal"] = {
[1] = "st",
Line 175:
if v.qualifiers and v.qualifiers.P1932 then
label = v.qualifiers.P1932[1].datavalue.value
else
label = mw.wikibase.getLabel(qnumber)
Line 220 ⟶ 218:
if v.qualifiers and v.qualifiers.P1932 then
label = v.qualifiers.P1932[1].datavalue.value
else
label = i18n["unknown-author"] .. (i18n["unknown-author-trackingcat"] or "")
Line 701 ⟶ 697:
end
-- make the nowiki'd string and done
return
end
|