Page MenuHomePhabricator

Remove feature flags
Open, Needs TriagePublic

Description

Removing the feature flag created in T377453:

  • $wgTemplateDataEnableDiscovery
  • $wgTemplateDataEnableCategoryBrowser
  • $wgTemplateDataEnableFeaturedTemplates

This will involved deleting the feature flags and all their conditionals everywhere in TemplateData, MediaWiki-extensions-TemplateWizard, and VisualEditor.

Note also that the module loading for VE will need to be moved from where it currently is in VE to the extension.json of TemplateData as a plugin module (example patch for that).

Event Timeline

Cparle renamed this task from Remove feature flags to Remove feature flag.Oct 23 2024, 4:09 PM

This will include moving the plugin-module registration created via a hack in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/1120698 into TemplateData's extension.json.

This will include moving the plugin-module registration created via a hack in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/1120698 into TemplateData's extension.json.

Good point. I've updated the description (and also split out prod deployment from this task; the feature flag should only be removed after the feature is enabled everywhere).

Samwilson renamed this task from Remove feature flag to Remove feature flags.Jul 2 2025, 9:33 AM
Samwilson updated the task description. (Show Details)

Change #1198177 had a related patch set uploaded (by Samwilson; author: Samwilson):

[mediawiki/extensions/TemplateData@master] Enable cat browser and featured templates by default

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