The feature flag $wgWBRepoSettings['tmpEnableLabelsInApiSummaries'] was only introduced temporarily to enable a controlled roll-out. Since those labels are now part of our stable API response, we can remove it again.
See the changes associated with the parent task and subtasks for code that was added and now needs to be cleaned up.
A (likely incomplete) list of places to clean up:
- Wikibase.default.php
- Wikibase.ci.php
- HtmlPageLinkRendererEndHookHandler (including shouldConvertNoBadTitle/shouldConvert)
- HtmlPageLinkRendererEndHookHandlerTestBase::newInstance()
- wmf-config/Wikibase.php
- wmf-config/InitialiseSettings-labs.php:2347