Ladsgroup has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/311229

Change subject: ORES default threshold to high for wikidatawiki
......................................................................

ORES default threshold to high for wikidatawiki

Bug: T144784
Change-Id: I2ffec5d2da90798b50705db6589fbfe9117483eb
---
M wmf-config/CommonSettings.php
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/29/311229/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 636022c..10efd85 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -3155,7 +3155,11 @@
 if ( $wmgUseORES ) {
        wfLoadExtension( 'ORES' );
        $wgOresBaseUrl = 'https://ores.wikimedia.org/';
-       $wgDefaultUserOptions['oresDamagingPref'] = 'soft';
+       if ( $wgDBname === 'wikidatawiki' ) {
+               $wgDefaultUserOptions['oresDamagingPref'] = 'hard';
+       } else {
+               $wgDefaultUserOptions['oresDamagingPref'] = 'soft';
+       }
 }
 
 ### End (roughly) of general extensions ########################

-- 
To view, visit https://gerrit.wikimedia.org/r/311229
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2ffec5d2da90798b50705db6589fbfe9117483eb
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Ladsgroup <ladsgr...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to