Modulo:Wikidata: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
fix formatTime |
aggiunto parametro from, uniforme con #property, per l'utilizzo dell'accesso arbitrario |
||
Riga 207:
-- get entity
entity = mw.wikibase.getEntityObject(options.from)
if not entity then
error('') -- error(formatError('entity-not-found'))
Riga 365:
end
entity = mw.wikibase.getEntityObject(args.from)
if entity and entity.claims and entity.claims[property] then
count = #entity.claims[property]
|