Catrope has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/395818 )
Change subject: Enable ORES filters on simplewiki ...................................................................... Enable ORES filters on simplewiki Using the same thresholds as on enwiki. Bug: T182012 Change-Id: Ie8d2f8bc67db27a93d67a40121f50dc53d497aa0 --- M wmf-config/InitialiseSettings-labs.php M wmf-config/InitialiseSettings.php 2 files changed, 15 insertions(+), 16 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config refs/changes/18/395818/1 diff --git a/wmf-config/InitialiseSettings-labs.php b/wmf-config/InitialiseSettings-labs.php index 383c120..3045515 100644 --- a/wmf-config/InitialiseSettings-labs.php +++ b/wmf-config/InitialiseSettings-labs.php @@ -692,21 +692,5 @@ 'wmgUseORES' => [ 'simplewiki' => true, // T181848 ], - 'wgOresFiltersThresholds' => [ - 'simplewiki' => [ // Follows enwiki - 'damaging' => [ - 'likelygood' => [ 'min' => 0, 'max' => 'recall_at_precision(min_precision=0.99)' ], - 'maybebad' => [ 'min' => 'recall_at_precision(min_precision=0.15)', 'max' => 1 ], - 'likelybad' => [ 'min' => 'recall_at_precision(min_precision=0.45)', 'max' => 1 ], - // verylikelybad uses default - ], - 'goodfaith' => [ - 'likelygood' => [ 'min' => 'recall_at_precision(min_precision=0.99)', 'max' => 1 ], - 'maybebad' => [ 'min' => 0, 'max' => 'recall_at_precision(min_precision=0.15)' ], - // likelybad uses default - 'verylikelybad' => [ 'min' => 0, 'max' => 'recall_at_precision(min_precision=0.9)' ], - ], - ], - ], ]; } # wmflLabsSettings() diff --git a/wmf-config/InitialiseSettings.php b/wmf-config/InitialiseSettings.php index 42e9e89..32b46ed 100644 --- a/wmf-config/InitialiseSettings.php +++ b/wmf-config/InitialiseSettings.php @@ -18998,6 +18998,21 @@ 'verylikelybad' => [ 'min' => 0, 'max' => 'recall_at_precision(min_precision=0.9)' ], ], ], + 'simplewiki' => [ + // Same as enwiki + 'damaging' => [ + 'likelygood' => [ 'min' => 0, 'max' => 'recall_at_precision(min_precision=0.99)' ], + 'maybebad' => [ 'min' => 'recall_at_precision(min_precision=0.15)', 'max' => 1 ], + 'likelybad' => [ 'min' => 'recall_at_precision(min_precision=0.45)', 'max' => 1 ], + // verylikelybad uses default + ], + 'goodfaith' => [ + 'likelygood' => [ 'min' => 'recall_at_precision(min_precision=0.99)', 'max' => 1 ], + 'maybebad' => [ 'min' => 0, 'max' => 'recall_at_precision(min_precision=0.15)' ], + // likelybad uses default + 'verylikelybad' => [ 'min' => 0, 'max' => 'recall_at_precision(min_precision=0.9)' ], + ], + ], 'plwiki' => [ 'damaging' => [ // likelygood uses default -- To view, visit https://gerrit.wikimedia.org/r/395818 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie8d2f8bc67db27a93d67a40121f50dc53d497aa0 Gerrit-PatchSet: 1 Gerrit-Project: operations/mediawiki-config Gerrit-Branch: master Gerrit-Owner: Catrope <r...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits