Right now mw.widgets.SearchInputWidget inherits from mw.widgets.TitleInputWidget, which inherits from OO.ui.TextInputWidget, but due to T130434 we want mw.widgets.SearchInputWidget to inherit from OO.ui.SearchInputWidget. Meh.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Make mw.widgets.SearchInputWidget extend OO.ui.SearchInputWidget | mediawiki/core | master | +51 -82 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | • Prtksxna | T130434 Break up TextInputWidget | |||
Resolved | matmarex | T169194 Work out how to fix mw.widgets.SearchInputWidget's inheritance |
Event Timeline
Comment Actions
For reference, the current state is the result of T148471 and https://gerrit.wikimedia.org/r/#/c/342718/ (e218f21d444dbdf32b6541ff1a54fca2cf8776f8).
Instead of inheriting from mw.widgets.TitleInputWidget, we can just use the mw.widgets.TitleWidget mixin. mw.widgets.SearchInputWidget already overrides most of the TitleInputWidget-specific behaviors.
Comment Actions
Change 362283 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/core@master] Make mw.widgets.SearchInputWidget extend OO.ui.SearchInputWidget
Comment Actions
Change 362283 merged by jenkins-bot:
[mediawiki/core@master] Make mw.widgets.SearchInputWidget extend OO.ui.SearchInputWidget