Page MenuHomePhabricator

Remove temporary feature flag for wbsubscribers API output path
Closed, ResolvedPublic

Description

The feature flag $wgWBRepoSettings['tmpWbsubscribersSensibleOutput'] was only introduced temporarily to enable a controlled roll-out. Now that the roll-out is finished, we can remove it again.

See the changes associated with the parent task and subtasks for code that was added and now needs to be cleaned up.

A (likely incomplete) list of places to clean up:

  • Wikibase.default.php
  • ListSubscribers.php
  • wmf-config/Wikibase.php
  • wmf-config/InitialiseSettings-labs.php:2347

Event Timeline

ItamarWMDE changed the task status from Open to Stalled.May 9 2023, 1:27 PM

Task review

  • The task is actually a subtask of [T300458] And thus will be moved to our work board
  • The task in marked as stalled until the 22nd of May, which is when the time to review this breaking change on testwikidata comes to a close.

Change 923618 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/Wikibase@master] Remove tmpWbsubscribersSensibleOutput feature flag

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

Change 923619 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[operations/mediawiki-config@master] Remove wmgWikibaseTmpWbsubscribersSensibleOutput feature flag

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

Change 923618 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Remove tmpWbsubscribersSensibleOutput feature flag

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

Stalled until 1.41.0-wmf.12 is fully rolled out, i.e. we can probably deploy the config change after June 12.

Change 923619 merged by jenkins-bot:

[operations/mediawiki-config@master] Remove wmgWikibaseTmpWbsubscribersSensibleOutput feature flag

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

Mentioned in SAL (#wikimedia-operations) [2023-06-12T13:47:44Z] <lucaswerkmeister-wmde@deploy1002> Started scap: Backport for [[gerrit:923619|Remove wmgWikibaseTmpWbsubscribersSensibleOutput feature flag (T335783)]]

Mentioned in SAL (#wikimedia-operations) [2023-06-12T13:51:20Z] <lucaswerkmeister-wmde@deploy1002> lucaswerkmeister-wmde: Backport for [[gerrit:923619|Remove wmgWikibaseTmpWbsubscribersSensibleOutput feature flag (T335783)]] synced to the testservers: mwdebug2001.codfw.wmnet, mwdebug1001.eqiad.wmnet, mwdebug1002.eqiad.wmnet, mwdebug2002.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2023-06-12T13:54:39Z] <lucaswerkmeister-wmde@deploy1002> Finished scap: Backport for [[gerrit:923619|Remove wmgWikibaseTmpWbsubscribersSensibleOutput feature flag (T335783)]] (duration: 06m 54s)

Doesn’t look like there are any references left (this search covers both config and source code):

lucaswerkmeister-wmde@deploy1002 /srv/mediawiki-staging (master $ u=) $ grep -rlF -e tmpEnableLabelsInApiSummaries -e tmpWbsubscribersSensibleOutput
lucaswerkmeister-wmde@deploy1002 /srv/mediawiki-staging (master $ u=) $