Unknown author fix, 27 August 2026
This commit is contained in:
parent
61b2d57f61
commit
6df6071a72
2 changed files with 2 additions and 2 deletions
|
|
@ -138,7 +138,7 @@ local function makelink(v, out, link, maxpos, wdl)
|
|||
if v.qualifiers and v.qualifiers.P1932 then
|
||||
label = v.qualifiers.P1932[1].datavalue.value
|
||||
else
|
||||
label = cfg.i18n_t["unknown-author"] .. (cfg.i18n_t.trackingcats["unknown-author"] or "")
|
||||
label = mw.wikibase.getLabel("Q4233718"):gsub("^%l", mw.ustring.upper) .. (cfg.i18n_t.trackingcats["unknown-author"] or "")
|
||||
end
|
||||
maxpos = maxpos + 1
|
||||
out[maxpos] = label
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ settings definitions for i18n
|
|||
local i18n_t = {
|
||||
["cite_q"] = "{{cite Q|",
|
||||
["erratum"] = "(erratum)",
|
||||
["unknown-author"] = mw.wikibase.getLabel("Q4233718"):gsub("^%l", mw.ustring.upper),
|
||||
-- ["unknown-author"] = mw.wikibase.getLabel("Q4233718"):gsub("^%l", mw.ustring.upper),
|
||||
["wdq"] = "[[WDQ (identifier)|Wikidata]]", -- go through "WDQ (identifier)" redirect to reduce clutter in "What links here" and improve reverse lookup. Keep in sync with {{QID}}.
|
||||
["wikisource"] = "enwikisource",
|
||||
["errors"] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue