Page MenuHomePhabricator

$wgOresModels set all models true
Closed, ResolvedPublic

Description

Per our config only 'damaging' should be true in $wgOresModels but all of them are enabled:

ladsgroup@tin:~$ mwscript eval.php --wiki=enwiki
> global $wgOresModels;

> var_dump( $wgOresModels );
array(4) {
  ["damaging"]=>
  bool(true)
  ["goodfaith"]=>
  bool(true)
  ["reverted"]=>
  bool(true)
  ["wp10"]=>
  bool(true)
}

Event Timeline

Update: This only happen in enwiki. dewiki, fawiki, and wikidatawiki are okay but ores_classification is exploding for enwiki

mysql:wikiadmin@db1055 [enwiki]> select count(*) from ores_classification group by oresc_model;
+----------+
| count(*) |
+----------+
|   492691 |
|   492691 |
|   492691 |
|  2463455 |
+----------+
4 rows in set (7.47 sec)

Change 306904 had a related patch set uploaded (by Ladsgroup):
Disable ORES for reverted, goodfaith and wp10 models

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

Okay, I found the issue. We should find a way to clean up those later

Change 306904 merged by jenkins-bot:
Disable ORES for reverted, goodfaith and wp10 models

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

Mentioned in SAL [2016-08-29T13:19:44Z] <hashar@tin> Synchronized wmf-config/InitialiseSettings.php: Disable ORES for reverted, goodfaith and wp10 models T143988 (duration: 02m 43s)