Open main menu

Difference between pages "Module:Convert/wikidata" and "Module:Convert/wikidata/sandbox"

(Difference between pages)
Page 1
Page 2
m (1 revision imported)
 
m (1 revision imported)
 
Line 483: Line 483:
 
end
 
end
 
if k == 'label' then
 
if k == 'label' then
local wdl = mw.wikibase.label(key)
+
local wdl = mw.wikibase.getLabel(key)
 
if wdl ~= value then
 
if wdl ~= value then
 
note:add('label changed to ' .. tostring(wdl))
 
note:add('label changed to ' .. tostring(wdl))