Page MenuHomePhabricator

Feature flags for 'Featured templates' and 'Category browsing'
Closed, ResolvedPublic

Description

To help with development and testing, we should add two feature flags:

A temporary ?enablediscovery URL flag should also be added, having equivalent functionality to $wgTemplateDataEnableCategoryBrowser, to make it easier to demo in production. This is seen as a small risk as the category browser doesn't modify any data and can be turned off again at any point.


We currently have all of this behind $wgTemplateDataEnableDiscovery (which, once the above are implemented, would then only be enabling the core template discovery functionality and the template favouriting feature)

Event Timeline

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

[mediawiki/extensions/TemplateData@master] [WIP] Template discovery: Add category-browsing columns in a new tab

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

We talked at the meeting yesterday about adding a URL flag to enable the category browser as well, because it's hard to get a feel for how it'll work without using it on a real category tree.

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

[mediawiki/extensions/TemplateData@master] Template discovery: Add ?enablediscovery=1 URL feature flag

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

Change #1138744 merged by jenkins-bot:

[mediawiki/extensions/TemplateData@master] Template discovery: Add columnar category browser in new tab

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

Change #1151174 merged by jenkins-bot:

[mediawiki/extensions/TemplateData@master] Template discovery: Add ?enablediscovery=1 URL feature flag

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

Samwilson updated the task description. (Show Details)

These are both done now. I think QA can happen in the respective tasks, and this one can be called done.