Modul:Bewertung: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 4: | Zeile 4: | ||
local totalReviewCount = 0 | local totalReviewCount = 0 | ||
local totalReview = 0 | local totalReview = 0 | ||
local entity = mw.wikibase.getEntityObject( | local entity = mw.wikibase.getEntityObject() | ||
result = '' | result = '' | ||
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 |