יחידה:PropertyLink: הבדלים בין גרסאות בדף
מ תמיכה בquantity + החלפה לgetEntityObject |
מאין תקציר עריכה |
||
| שורה 1: | שורה 1: | ||
function getProperty( propertyName ) | function getProperty( propertyName ) | ||
local entity = mw.wikibase. | local entity = mw.wikibase.getEntity() | ||
if not entity or not entity.claims then return end --the entity doesnt exist or have no claims | if not entity or not entity.claims then return end --the entity doesnt exist or have no claims | ||