The new visual editor template dialog sidebar overrides most of the functionality of this class, and the low-level coupling to OutlineSelectWidget is a blocker for removing this dependency. We'll just copy the class and merge in our customizations.
- Copy OutlineControlsWidget implementation from ooui-js, including the ES and Less files. Inline and hardcode any substituted variables and themed styles.
- Rename OutlineControlsWidget class to ve.ui.MWTransclusionOutlineControlsWidget
- CSS classes should be renamed, e.g. oo-ui-outlineControlsWidget
- i18n messages can stay as they are for now.
- Switch over the two-pane layout setup to use the new class when initializing this.outlineControlsWidget.
Behavior should be unchanged.