Modulo:Bio/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
abilitato wikidata per test |
aggiornato al nuovo comportamento della getEntityObject (tabella detta di tipo "non-legacy style") |
||
Riga 119:
entity = mw.wikibase.getEntityObject()
if entity and entity.claims and
entity.claims[property] and #entity.claims[property] > 0 and entity.claims[property][
value = entity.claims[property][
year, month, day = value.time:match(".+(%d%d%d%d%d)%-(%d%d)%-(%d%d).+")
if value.precision == 11 then
|