Modulo:Wikidata/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
rimosso utilizzo di mw.wikibase.getEntity in getLabel se non è richiesta anche la lingua |
m parametro entity non più necessario |
||
Riga 651:
function p._getLabel(args)
if args[2] then
local entity =
return entity and entity:getLabel(args[2])
else
Riga 679:
end
entity =
if not entity then
error(i18n.errors['entity-not-found'], 2)
|