Modulo:Wikidata/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
+getEntityCached |
m variabile globale a inizio modulo |
||
Riga 47:
}
}
-- Table per la funzione getEntityCached▼
local p = {}
Line 382 ⟶ 385:
-- Lettura e selezione statement
-------------------------------------------------------------------------------
▲-- Table per la funzione getEntityCached
▲local entities = {}
-- Versione con cache di mw.wikibase.getEntity
Riga 391:
entityId = entityId or mw.wikibase.getEntityIdForCurrentPage()
if entityId then
ret =
if not ret then
ret = mw.wikibase.getEntity(entityId)
if ret then
end
end
|