Page MenuHomePhabricator

Remove EventLogging code from RelatedArticles
Closed, ResolvedPublic2 Estimated Story Points

Description

The Schema:RelatedArticles has been disabled for some time and should be removed

Acceptance criteria

  • Remove module ext.relatedArticles.readMore.eventLogging
  • Remove the 2 calls to ext.relatedArticles.logReady and ext.relatedArticles.logEnabled
  • Remove wgRelatedArticlesEnabledBucketSize (php config, documentation and JS usage)

QA steps

Verify that related articles shows on the beta cluster (https://en.m.wikipedia.beta.wmflabs.org/w/index.php?title=Related_Articles_2&mobileaction=toggle_view_mobile)
On https://en.wikivoyage.beta.wmflabs.org/wiki/Tokushima it should show on desktop.

Sign off steps

Event Timeline

ovasileva triaged this task as Medium priority.Aug 21 2018, 7:47 AM
Jdlrobson set the point value for this task to 2.

Change 460410 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/extensions/RelatedArticles@master] Remove EventLogging/A-B test code from RelatedArticles

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

Change 460410 merged by jenkins-bot:
[mediawiki/extensions/RelatedArticles@master] Remove EventLogging/A-B test code from RelatedArticles

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

Change 462573 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[operations/mediawiki-config@master] Remove dead config relating to wgRelatedArticlesEnabledBucketSize

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

Jdlrobson updated the task description. (Show Details)

I've run through the QA steps myself, so I think this can skip QA. Signer off should be a developer and they will need to SWAT https://gerrit.wikimedia.org/r/462573

Most probably we cannot SWAT https://gerrit.wikimedia.org/r/462573 before Tuesday (train break), I'll check that with SWAT team, and sign-off/swat the task ASAP

I'll SWAT the change tomorrow (Oct 3rd during European swat window)

Change 462573 merged by jenkins-bot:
[operations/mediawiki-config@master] Remove dead config relating to wgRelatedArticlesEnabledBucketSize

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

Mentioned in SAL (#wikimedia-operations) [2018-10-03T11:42:08Z] <pmiazga@deploy1001> Synchronized wmf-config: SWAT: [[gerrit:462573|Remove dead config relating to wgRelatedArticlesEnabledBucketSize (T202306)]] (duration: 00m 57s)

Deployed, looks ok, no dead code found.

Remove RelatedArticles schema from our dashboard (https://grafana.wikimedia.org/dashboard/db/reading-web-dashboard?orgId=1)

For completion, this wasn't done. I just did this myself just now.