Implement the results found in {T272457}.
[] Implement behind feature flag with:
* {T271802}
* {T274907}
* {T274906}
* {T274908}
[] Make the "find a template by name" search in VisualEditor use the standard search API instead of prefixsearch.
[] Optional: Check if it's possible to combine the 2 API queries into 1, similar to what #mediawiki-extensions-templatewizard does.
Notes:
* Don't use any fancy options. No "intitle", no other sort order. The default behavior is usually better, as well as what the users are used to and expect.
Possible follow-up tasks (not part of this ticket):
* Experiment with and possibly implement a workaround to lower the priority of subpages (e.g. as suggested in T272457).
* Possibly show a snippet together with the title, especially when the search term doesn't appear in the title.
* Apply the same changes to #mediawiki-extensions-templatewizard → T274907.
* Ask the #cirrussearch devs how to exclude or lower the priority of subpages → T274908.
* Ask the #cirrussearch devs how to raise the priority of a template's #templatedata description → T274906.