"మాడ్యూల్:Wikidata" కూర్పుల మధ్య తేడాలు

Apply edit from Hoo man to not iterate over all properties, per special:permalink/815838363#Critical_performance_improvement
(This is false, and has been false for years)
(Apply edit from Hoo man to not iterate over all properties, per special:permalink/815838363#Critical_performance_improvement)
return entity.claims[property]
else
property = mw.wikibase.resolvePropertyId(property)
-- otherwise, iterate over all properties, fetch their labels and compare this to the given property name
if mw.wikibase.label(k) ==not property then return v end
for k, v in pairs(entity.claims) do
 
if mw.wikibase.label(k) == property then return v end
return entity.claims[property]
end
return
end
end
11

edits

"https://te.wikipedia.org/wiki/ప్రత్యేక:MobileDiff/2622448" నుండి వెలికితీశారు