jenkins-bot has submitted this change and it was merged. Change subject: (bug 50926) Disable feedback via AFTv5 on de.wikipedia ......................................................................
(bug 50926) Disable feedback via AFTv5 on de.wikipedia https://gerrit.wikimedia.org/r/#/c/72495/ introduces this variable. Bug: 50926 Change-Id: Ic5c303013a0ea94c94f42af1bbc2af33c6815741 --- M wmf-config/CommonSettings.php M wmf-config/InitialiseSettings.php 2 files changed, 13 insertions(+), 0 deletions(-) Approvals: Bsitu: Looks good to me, but someone else must approve Matthias Mullie: Looks good to me, approved jenkins-bot: Verified diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php index 97ecb5d..ff4d06c 100644 --- a/wmf-config/CommonSettings.php +++ b/wmf-config/CommonSettings.php @@ -1762,6 +1762,7 @@ $wgArticleFeedbackv5LearnToEdit = $wmgArticleFeedbackv5LearnToEdit; $wgArticleFeedbackv5Namespaces = $wmgArticleFeedbackv5Namespaces; $wgArticleFeedbackv5LotteryOdds = $wmgArticleFeedbackv5LotteryOdds; + $wgArticleFeedbackv5EnableProtection = $wmgArticleFeedbackv5EnableProtection; $wgArticleFeedbackAutoArchiveEnabled = $wmgArticleFeedbackAutoArchiveEnabled; $wgArticleFeedbackAutoArchiveTtl = $wmgArticleFeedbackAutoArchiveTtl; $wgArticleFeedbackv5Watchlist = $wmgArticleFeedbackv5Watchlist; diff --git a/wmf-config/InitialiseSettings.php b/wmf-config/InitialiseSettings.php index 5bd88d0..59de1af 100644 --- a/wmf-config/InitialiseSettings.php +++ b/wmf-config/InitialiseSettings.php @@ -10612,6 +10612,18 @@ 'frwiki' => array( NS_MAIN => 0, NS_HELP => 100 ), ), /* + * Allow/disallow the ability to enable or disable AFTv5 on a per-article basis. + * This feature will add an AFTv5 entry in page protection settings (for admins) + * or a simple enable/disable link for editors. + * Disabling this will remove said links & entry in ?action=protect & ignore + * existing opt-in/-outs, leaving only lottery & whitelist/blacklist categories + * to define if an article should get AFTv5. + */ +'wmgArticleFeedbackv5EnableProtection' => array( + 'default' => true, + 'dewiki' => false, +), +/* * Articles that include this category, will display AFTv5, regardless of lottery. */ 'wmgArticleFeedbackv5Categories' => array( -- To view, visit https://gerrit.wikimedia.org/r/72496 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic5c303013a0ea94c94f42af1bbc2af33c6815741 Gerrit-PatchSet: 2 Gerrit-Project: operations/mediawiki-config Gerrit-Branch: master Gerrit-Owner: Matthias Mullie <[email protected]> Gerrit-Reviewer: Bsitu <[email protected]> Gerrit-Reviewer: Matthias Mullie <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
