Content deleted Content added
No edit summary |
No edit summary |
||
Line 81:
local itemID = "Q" .. snak.datavalue.value['numeric-id']
local value = mw.wikibase.label(itemID)
if linked then
▲ local target = mw.wikibase.sitelink(itemID)
if target then
value = "[[" .. target .. "|" .. (value or target) .. "]]"
Line 89:
end
elseif not value then
value = (target or itemID)
end
return value
|