From 9a4dc43aa5e49051b0619d26b137e463ca8d6732 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Wed, 14 Aug 2019 12:46:19 +0200 Subject: [PATCH] Change threshold for small wiki contributions Turns out 280 is a bit low. Let's try 500 instead. --- integrations/mediawiki.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/integrations/mediawiki.js b/integrations/mediawiki.js index 8e6fcc6..31c3b43 100644 --- a/integrations/mediawiki.js +++ b/integrations/mediawiki.js @@ -129,8 +129,7 @@ module.exports = async function(robot, kredits) { function calculateAmountForChanges(details) { let amount; - if (details.charsAdded < 280) { - // less than a tweet + if (details.charsAdded < 500) { amount = 500; } else if (details.charsAdded < 2000) { amount = 1500;