Page MenuHomePhabricator

[batch #3] Enable revertrisk filters in recent changes in multiple wikis
Closed, ResolvedPublic

Description

In this task we plan to enable the ORES extension with the revertrisk language agnostic filter in the following wikis:

azwiki, lawiki, mkwiki, mlwiki, mrwiki, nnwiki, pawiki, swwiki, tewiki, tlwiki

Steps to install ORES extension:
Databases:

  • Create the ores_model and ores_classification tables.

The standard way is to use https://github.com/wikimedia/mediawiki-extensions-WikimediaMaintenance/blob/master/createExtensionTables.php, but it's not added there so we should add it.
See https://wikitech.wikimedia.org/wiki/Creating_new_tables#Deployment

mwscript-k8s --comment="T395824" -- extensions/WikimediaMaintenance/createExtensionTables.php --wiki=idwiki ores

Extension:
Update any i18n system messages:
For the batch of wikis this will likely happen after we release the feature.

Config:

  • Add the wikis to the list of wikis in the wgOresUiEnabled config variable and deploy without enabling the UI.

Define the models that are going to be used for id wiki by adding an idwiki entry in the wgOresModels var.
Here we should make sure we disable the models that are enabled by default (damaging and goodfaith) and define the models explicitly that we want to use.
Backfill

  • Run backfill job

example:

mwscript-k8s --comment="T395824" -- extensions/ORES/maintenance/PopulateDatabase.php --wiki=idwiki
  • Enable filters in the UI (switch the wgOresUiEnabled config variable in ext-ORES.php file in wmf-config to true) , mkwiki,,,,,,,
WikiCreate TablesEnable Extension Without UIBackfill TableEnable UI
azwiki
lawiki
mkwiki
mlwiki
mrwiki
nnwiki
pawiki
swwiki
tewiki
tlwiki

Event Timeline

Restricted Application added a subscriber: Nemoralis. · View Herald Transcript

Change #1155652 had a related patch set uploaded (by Gkyziridis; author: Gkyziridis):

[operations/mediawiki-config@master] ores-extension: enable extension with revertrisk filter for the third batch of wikis

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

Change #1155652 merged by jenkins-bot:

[operations/mediawiki-config@master] ores-extension: enable extension with revertrisk filter for the third batch of wikis

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

Mentioned in SAL (#wikimedia-operations) [2025-06-18T07:06:01Z] <gkyziridis@deploy1003> Started scap sync-world: Backport for [[gerrit:1155652|ores-extension: enable extension with revertrisk filter for the third batch of wikis (T395824)]]

Mentioned in SAL (#wikimedia-operations) [2025-06-18T07:08:24Z] <gkyziridis@deploy1003> gkyziridis: Backport for [[gerrit:1155652|ores-extension: enable extension with revertrisk filter for the third batch of wikis (T395824)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-06-18T07:29:36Z] <gkyziridis@deploy1003> Finished scap sync-world: Backport for [[gerrit:1155652|ores-extension: enable extension with revertrisk filter for the third batch of wikis (T395824)]] (duration: 23m 35s)

Change #1160797 had a related patch set uploaded (by Ilias Sarantopoulos; author: Gkyziridis):

[operations/mediawiki-config@master] ores-extension: enable extension with revertrisk filter for azwiki

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

Change #1160797 merged by jenkins-bot:

[operations/mediawiki-config@master] ores-extension: enable extension with revertrisk filter for azwiki

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

Mentioned in SAL (#wikimedia-operations) [2025-06-19T07:04:04Z] <gkyziridis@deploy1003> Started scap sync-world: Backport for [[gerrit:1160797|ores-extension: enable extension with revertrisk filter for azwiki (T395824)]]

Mentioned in SAL (#wikimedia-operations) [2025-06-19T07:06:28Z] <gkyziridis@deploy1003> gkyziridis: Backport for [[gerrit:1160797|ores-extension: enable extension with revertrisk filter for azwiki (T395824)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-06-19T07:15:55Z] <gkyziridis@deploy1003> Finished scap sync-world: Backport for [[gerrit:1160797|ores-extension: enable extension with revertrisk filter for azwiki (T395824)]] (duration: 11m 50s)

I believe we can close T310691, T129699 and T130278 in favor of this task?

Change #1163405 had a related patch set uploaded (by Ilias Sarantopoulos; author: Ilias Sarantopoulos):

[operations/mediawiki-config@master] ores-extension: enable revertrisk filter in UI for third batch

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

Change #1163405 merged by jenkins-bot:

[operations/mediawiki-config@master] ores-extension: enable revertrisk filter in UI for third batch

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

Mentioned in SAL (#wikimedia-operations) [2025-06-25T07:16:12Z] <isaranto@deploy1003> Started scap sync-world: Backport for [[gerrit:1163405|ores-extension: enable revertrisk filter in UI for third batch (T395824)]]

Mentioned in SAL (#wikimedia-operations) [2025-06-25T07:18:34Z] <isaranto@deploy1003> isaranto: Backport for [[gerrit:1163405|ores-extension: enable revertrisk filter in UI for third batch (T395824)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-06-25T07:30:20Z] <isaranto@deploy1003> Finished scap sync-world: Backport for [[gerrit:1163405|ores-extension: enable revertrisk filter in UI for third batch (T395824)]] (duration: 14m 08s)

The filters have been successfully deployed to the 3rd batch of wikis