Page MenuHomePhabricator

Add favourite button to template form in TemplateWizard
Closed, ResolvedPublic5 Estimated Story Points

Description

At this point in the T377978 story, it is possible to favourite a template when searching for it in the initial template-search form. This task is to also add a favourite button to the template editing form that is used both just after selecting a new template and also when clicking the edit button on a template that's already in a wiki page.

This task is only for adding this to TemplateWizard; see T385845 for the equivalent for adding to VisualEditor.

The button should go next to the 'close' and 'link' buttons.

Event Timeline

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

[mediawiki/extensions/TemplateData@master] Move FavouriteButton to its own class

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

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

[mediawiki/extensions/TemplateWizard@master] Add favourite-template button if TemplateData discovery is enabled

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

KSiebert set the point value for this task to 5.Mar 6 2025, 10:31 AM

Change #1124912 merged by jenkins-bot:

[mediawiki/extensions/TemplateData@master] Move FavoriteButton to its own class

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

Change #1124933 merged by jenkins-bot:

[mediawiki/extensions/TemplateWizard@master] Add favorite-template button if TemplateData discovery is enabled

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

KSiebert changed the task status from Open to Stalled.Mar 27 2025, 10:38 AM
dom_walden subscribed.

Resolving as needing no extra, specific testing.