Matthias Mullie has uploaded a new change for review.
https://gerrit.wikimedia.org/r/60803
Change subject: Config var was confusing; all others are ArticleFeedbackv5
prefixeg
......................................................................
Config var was confusing; all others are ArticleFeedbackv5 prefixeg
Enable Auto-archive for enwiki, dewiki, frwiki
Change-Id: I7429f8774aafb0ceb547003698bde40d7975e80a
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
2 files changed, 9 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/03/60803/1
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 9218331..9503038 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2045,8 +2045,8 @@
$wgArticleFeedbackv5LearnToEdit = $wmgArticleFeedbackv5LearnToEdit;
$wgArticleFeedbackv5Namespaces = $wmgArticleFeedbackv5Namespaces;
$wgArticleFeedbackv5LotteryOdds = $wmgArticleFeedbackv5LotteryOdds;
- $wgArticleFeedbackAutoArchiveEnabled =
$wmgArticleFeedbackAutoArchiveEnabled;
- $wgArticleFeedbackAutoArchiveTtl = $wmgArticleFeedbackAutoArchiveTtl;
+ $wgArticleFeedbackv5AutoArchiveEnabled =
$wmgArticleFeedbackv5AutoArchiveEnabled;
+ $wgArticleFeedbackv5AutoArchiveTtl =
$wmgArticleFeedbackv5AutoArchiveTtl;
$wgArticleFeedbackv5Watchlist = $wmgArticleFeedbackv5Watchlist;
$wgArticleFeedbackv5ArticlePageLink =
$wmgArticleFeedbackv5ArticlePageLink;
diff --git a/wmf-config/InitialiseSettings.php
b/wmf-config/InitialiseSettings.php
index 558a0de..da09c3c 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -10709,8 +10709,12 @@
* This should be manually set to true, to make sure the filter
* does not show up when the cronjob is not running.
*/
-'wmgArticleFeedbackAutoArchiveEnabled' => array(
+'wmgArticleFeedbackv5AutoArchiveEnabled' => array(
'default' => false,
+ 'testwiki' => true,
+ 'enwiki' => true,
+ 'dewiki' => true,
+ 'frwiki' => true,
),
/*
* This is the TTL before an item is archived (if auto-archive is enabled);
@@ -10718,7 +10722,7 @@
* faster. For a fixed date, a simple integer can be passed instead of an
* array, to make it "amount of unreviewed feedback"-agnostic.
*/
-'wmgArticleFeedbackAutoArchiveTtl' => array(
+'wmgArticleFeedbackv5AutoArchiveTtl' => array(
'default' => array(
0 => '+2 years', // < 9 unreviewed feedback
10 => '+1 month', // 10-19
@@ -10727,6 +10731,7 @@
40 => '+2 days', // > 40
),
'dewiki' => array(
+ // longer-than-default auto-archive delay
0 => '+1 year', // < 9 unreviewed feedback
10 => '+6 months', // 10-19
20 => '+3 months', // 20-29
--
To view, visit https://gerrit.wikimedia.org/r/60803
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7429f8774aafb0ceb547003698bde40d7975e80a
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits