Module:Convert/wikidata: Difference between revisions

m 1 revision imported: Wikipedia article on Nicotine modules needed
imported>Johnuniq
 
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))