Page MenuHomePhabricator

Migrate Anti-Harassment EventLogging schemas to Event Platform
Open, Needs TriagePublic

Description

Hello! We plan to migrate 4 schemas owned by the Anti-Harrasment team the week of Nov 30 - Dec 4.

Information about this migration can be found at https://wikitech.wikimedia.org/wiki/Event_Platform/EventLogging_legacy.

There should be no change to the data collected.

Let us know if you have any questions or objections.

Event Timeline

Ottomata created this task.Nov 23 2020, 7:32 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 23 2020, 7:32 PM

To fight phab proliferation I'm merging the subtasks in.

Change 644244 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[schemas/event/secondary@master] Migrate Anti-Harassment EventLogging schemas

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

Change 644244 merged by Ottomata:
[schemas/event/secondary@master] Migrate Anti-Harassment EventLogging schemas

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

@Niharika, AFAICT, AutoblockIpBlock hasn't had any data for years, if ever.

Do we actually need to migrate this, or can we mark it as deprecated?

Change 644252 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/mediawiki-config@master] Migrate 2 Anti-Harassment schemas to EventGate on testwiki

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

Change 644252 merged by Ottomata:
[operations/mediawiki-config@master] Migrate 2 Anti-Harassment schemas to EventGate on testwiki

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

Mentioned in SAL (#wikimedia-operations) [2020-11-30T15:15:05Z] <otto@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Migrate 2 Anti-Harassment schemas to EventGate on testwiki - T268517 (duration: 01m 16s)

Change 644256 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/mediawiki-config@master] Migrate 2 Anti-Harassment schemas to EventGate on all wikis

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

Change 644256 merged by Ottomata:
[operations/mediawiki-config@master] Migrate 2 Anti-Harassment schemas to EventGate on all wikis

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

Mentioned in SAL (#wikimedia-operations) [2020-11-30T15:28:41Z] <otto@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Migrate 2 Anti-Harassment schemas to EventGate on all wikis - T268517 (duration: 00m 56s)

Mentioned in SAL (#wikimedia-analytics) [2020-11-30T15:29:43Z] <ottomata> migrated EventLogging schemas SpecialMuteSubmit and SpecialInvestigate to EventGate - T268517

Change 644259 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/puppet@production] Refine 2 Anti-Harassment schemas using eventlogging_legacy job

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

Change 644259 merged by Ottomata:
[operations/puppet@production] Refine 2 Anti-Harassment schemas using eventlogging_legacy job

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

@Niharika I have migrated SpecialMuteSubmit and SpecialInvestigate to Event Platform.

One of the clean up steps is to update the default value of EventLoggingSchemas in the producer's extension.json. Assuming this data is produced by a MW extension, which one is it? :)

@Niharika I have migrated SpecialMuteSubmit and SpecialInvestigate to Event Platform.

One of the clean up steps is to update the default value of EventLoggingSchemas in the producer's extension.json. Assuming this data is produced by a MW extension, which one is it? :)

I am going to defer this question to @Tchanders who knows this space much better than I do.

@Niharika thanks.

I'm also trying to find out if we actually need to migrate AutoblockIpBlock and CookieBlock after all. Neither of these seem to have had any data for many years. Can we just deprecate them and not migrate?

Change 644536 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[mediawiki/extensions/CheckUser@master] EventLogging - Set SpecialInvestigate schema uri to Event Platform

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

I found SpecialInvestigate, it is in the CheckUser extension: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CheckUser/+/644536

I also found SpecialMuteSubmit, it is in WikimediaEvents...but it is a server side PHP EventLogging call, which we don't yet have live. This task is blocked on T253121: MEP Client MediaWiki PHP.

Change 644585 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/puppet@production] Keep EventLogging SpecialMuteSubmit on old system for now

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

Change 644585 merged by Ottomata:
[operations/puppet@production] Keep EventLogging SpecialMuteSubmit on old system for now

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

Niharika updated the task description. (Show Details)Dec 2 2020, 4:07 PM

Change 644536 merged by Ottomata:
[mediawiki/extensions/CheckUser@master] EventLogging - Set SpecialInvestigate schema uri to Event Platform

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

Change 647785 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/mediawiki-config@master] wgEventLoggingSchemas - remove SpecialMuteSubmit

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

Change 647785 merged by Ottomata:
[operations/mediawiki-config@master] wgEventLoggingSchemas - remove SpecialMuteSubmit

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

Ottomata updated the task description. (Show Details)Dec 10 2020, 8:55 PM

Change 654425 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/mediawiki-config@master] Remove overrides from wgEventLoggingSchemas

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

Change 654425 merged by Ottomata:
[operations/mediawiki-config@master] Remove overrides from wgEventLoggingSchemas

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

Ottomata updated the task description. (Show Details)Tue, Jan 5, 3:05 PM
Ottomata updated the task description. (Show Details)Tue, Jan 5, 3:09 PM

Change 655437 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/mediawiki-config@master] Migrate SpecialMuteSubmit to EventGate

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

Change 655437 merged by Ottomata:
[operations/mediawiki-config@master] Migrate SpecialMuteSubmit to EventGate

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

Mentioned in SAL (#wikimedia-operations) [2021-01-11T15:36:22Z] <otto@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Migrate SpecialMuteSubmit to EventGate - T268517 (duration: 00m 58s)

Ottomata updated the task description. (Show Details)Mon, Jan 11, 3:36 PM

Change 655442 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/puppet@production] Finalize migration of SpecialMuteSubmit to event platform

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

Restricted Application added a project: Analytics. · View Herald TranscriptMon, Jan 11, 3:40 PM

Change 655442 merged by Ottomata:
[operations/puppet@production] Finalize migration of SpecialMuteSubmit to event platform

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

Ottomata moved this task from Backlog to Done on the Event-Platform board.Mon, Jan 11, 3:43 PM

Change 655448 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[mediawiki/extensions/WikimediaEvents@master] Finalize migration of SpecialMuteSubmit to Event Platform

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

Change 655448 merged by Ottomata:
[mediawiki/extensions/WikimediaEvents@master] Finalize migration of SpecialMuteSubmit to Event Platform

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

fdans moved this task from Incoming to Event Platform on the Analytics board.

Mentioned in SAL (#wikimedia-operations) [2021-01-11T19:53:03Z] <otto@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Migrate UniversalLanguageSelector to Event Platform - T268517 (duration: 00m 57s)

Change 655962 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/puppet@production] Undo finalization of EL migration of SpecialMuteSubmit

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

Change 655964 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/mediawiki-config@master] Undo finalization of EL migration of SpecialMuteSubmit

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

Change 655962 merged by Ottomata:
[operations/puppet@production] Undo finalization of EL migration of SpecialMuteSubmit

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

Change 655964 merged by Ottomata:
[operations/mediawiki-config@master] Undo finalization of EL migration of SpecialMuteSubmit

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

Mentioned in SAL (#wikimedia-operations) [2021-01-13T19:36:19Z] <otto@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Undo - Migrate SpecialMuteSubmit to EventGate - T268517 (duration: 01m 06s)

Ottomata moved this task from In Code Review to Ready to Deploy on the Analytics-Kanban board.
Ottomata updated the task description. (Show Details)Wed, Jan 20, 1:54 PM

Change 658314 had a related patch set uploaded (by Ottomata; owner: Ottomata):
[operations/mediawiki-config@master] Migrate SpecialMuteSubmit to Event Platform on all wikis

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

Change 658314 merged by Ottomata:
[operations/mediawiki-config@master] Migrate SpecialMuteSubmit to Event Platform on all wikis

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