Page MenuHomePhabricator

Remove config settings for individual DiscussionTools features
Open, Needs TriagePublic

Description

Once we don't need the BetaFeatures integration (T322496), we should remove the config settings that we used to control the availability of each feature (reply tool, new topic tool etc.) on each wiki, to simplify future maintenance.

This applies to wgDiscussionTools_replytool, wgDiscussionTools_newtopictool, wgDiscussionTools_sourcemodetoolbar, wgDiscussionTools_topicsubscription, wgDiscussionTools_autotopicsub, wgDiscussionTools_visualenhancements.

With BetaFeatures out of the picture, the availability can be controlled more simply using wgHiddenPrefs.

Event Timeline

Change 927630 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/DiscussionTools@master] Drop the DiscussionToolsEnable feature flag

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

Change 927632 had a related patch set uploaded (by Esanders; author: Esanders):

[operations/mediawiki-config@master] Remove wgDiscussionToolsEnable config

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

Change 927631 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/DiscussionTools@master] Remove most DiscussionTools feature configs

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

Change 927633 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/DiscussionTools@master] Remove DiscussionToolsEnableMobile

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

Change 927653 had a related patch set uploaded (by Esanders; author: Esanders):

[operations/mediawiki-config@master] Remove most DiscussionTools feature configs

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

Change 927630 merged by jenkins-bot:

[mediawiki/extensions/DiscussionTools@master] Drop the DiscussionToolsEnable feature flag

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

Change 927631 merged by jenkins-bot:

[mediawiki/extensions/DiscussionTools@master] Remove most DiscussionTools feature configs

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

Change 927633 merged by jenkins-bot:

[mediawiki/extensions/DiscussionTools@master] Remove DiscussionToolsEnableMobile

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

Change 927632 merged by jenkins-bot:

[operations/mediawiki-config@master] Remove wgDiscussionToolsEnable config

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

Mentioned in SAL (#wikimedia-operations) [2023-06-27T20:03:09Z] <samtar@deploy1002> Started scap: Backport for [[gerrit:933460|Remove unused config $wgVisualEditorAllowLossySwitching (T339871)]], [[gerrit:927632|Remove wgDiscussionToolsEnable config (T322497)]]

Mentioned in SAL (#wikimedia-operations) [2023-06-27T20:04:54Z] <samtar@deploy1002> esanders and samtar and matmarex: Backport for [[gerrit:933460|Remove unused config $wgVisualEditorAllowLossySwitching (T339871)]], [[gerrit:927632|Remove wgDiscussionToolsEnable config (T322497)]] synced to the testservers: mwdebug2001.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug1001.eqiad.wmnet, mwdebug2002.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2023-06-27T20:10:45Z] <samtar@deploy1002> Finished scap: Backport for [[gerrit:933460|Remove unused config $wgVisualEditorAllowLossySwitching (T339871)]], [[gerrit:927632|Remove wgDiscussionToolsEnable config (T322497)]] (duration: 07m 35s)

Change 927653 merged by jenkins-bot:

[operations/mediawiki-config@master] Remove most DiscussionTools feature configs

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

Mentioned in SAL (#wikimedia-operations) [2023-06-27T20:13:41Z] <samtar@deploy1002> Started scap: Backport for [[gerrit:927653|Remove most DiscussionTools feature configs (T322497)]], [[gerrit:932270|Remove references to auth-api.php (T204193)]]

Mentioned in SAL (#wikimedia-operations) [2023-06-27T20:15:10Z] <samtar@deploy1002> reedy and esanders and samtar: Backport for [[gerrit:927653|Remove most DiscussionTools feature configs (T322497)]], [[gerrit:932270|Remove references to auth-api.php (T204193)]] synced to the testservers: mwdebug1002.eqiad.wmnet, mwdebug2002.codfw.wmnet, mwdebug1001.eqiad.wmnet, mwdebug2001.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2023-06-27T20:20:35Z] <samtar@deploy1002> Finished scap: Backport for [[gerrit:927653|Remove most DiscussionTools feature configs (T322497)]], [[gerrit:932270|Remove references to auth-api.php (T204193)]] (duration: 06m 53s)

(Not completed, but further work will have to wait for further deployments)

Aklapper added a subscriber: Esanders.

Removing task assignee as this open task has been assigned for more than two years - See the email sent to task assignee on 2025-11-25.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome! :)
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!

Keeping this opened per last comment by Matmarex.