As a user,
I want to have some feedback when searching in subpages,
so that I can get more precise search hits and avoid empty searches.
Problem to avoid: If I put a page in the subpages field, and this page (unbeknown to be) has no subpages, I get no results and don't know why.
Acceptance Criteria:
- When there is text in the subpage search field and no pages are found with the search term (suffixed with '/'), a message is shown.
- There is a 100-200ms delay before the message is shown, to allow for more user input ("debounce".)
Background:
- The API query for getting prefixed pages for "Test" hits is /api.php?action=query&format=json&list=search&srprop=&srsearch=prefix%3ATest%2F
- Existing codebase: https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/AdvancedSearch