Page MenuHomePhabricator

Add track event to TitleWidget to allow interaction with search results
Open, Needs TriagePublic

Description

Can TitleWidget fire a mw.track() event to allow interaction with search results? The SearchSuggest widget provides this functionality with mediawiki.searchSuggest.impression-results, so I'd propose something similar be added to TitleWidget so external code more easily can interact with all search results UI elements.

Event Timeline

Change 769564 had a related patch set uploaded (by Chris Rishel; author: Chris Rishel):

[mediawiki/core@master] mw.widgets.TitleWidget: Add mw.track event when options are generated from search results

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

Boldly adding Platform Engineering as this contributed patch touching Core's resources/src/mediawiki.widgets/mw.widgets.TitleWidget.js has been waiting for a review for two months. Is there a patch review process? :-/