This task is a prerequisite for storing search filters in URL params (T261537), because having filter params implies that they will be recognized immediately if the user was to copy and paste the URL into a new browser or otherwise do a hard refresh. Initial results are fetched on the server and we have no guarantee that users will have JS enabled at all, so search filter URLs must be handled in PHP as well as JS.
Acceptance Criteria
- Users who arrive at Special:MediaSearch with valid filter params in the url (like ?q=tree&mimeType=tiff, etc) must get filtered results back from the initial batch of hits, prior to JS initialization
- The no-JS UI must provide a way for the user to clear filters that have been set via URL param