„Modul:ServiceAward” változatai közötti eltérés

[ellenőrzött változat][ellenőrzött változat]
Tartalom törölve Tartalom hozzáadva
a nulledit
Use min instead of the avg of the values
1 855. sor:
local editPercentage = userEdits / editsToNextRank
local daysPercentage = userActiveDays / daysToNextRank
local percentage = math.floor((min(editPercentage +, daysPercentage) / 2) * 1000) / 1000
templateParams.percentage = percentage
end