Matthias Mullie has uploaded a new change for review. https://gerrit.wikimedia.org/r/72496
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, 9 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config refs/changes/96/72496/1 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..6d69d11 100644 --- a/wmf-config/InitialiseSettings.php +++ b/wmf-config/InitialiseSettings.php @@ -10612,6 +10612,14 @@ 'frwiki' => array( NS_MAIN => 0, NS_HELP => 100 ), ), /* + * Allow/disallow the ability to enable or disable AFTv5 on a per-article basis + * via page protection settings. + */ +'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: newchange Gerrit-Change-Id: Ic5c303013a0ea94c94f42af1bbc2af33c6815741 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
