Steps to replicate the issue (include links if applicable):
- Per T378756 InputBox was upgraded to use the newer MediaSearch instead of SpecialSearch
- These templates (maybe some more) are used for search boxes not for media but certain meta pages:
- https://commons.wikimedia.org/wiki/Commons:Village_pump/Header
- https://commons.wikimedia.org/wiki/Template:Administrators%27_noticeboard
- https://commons.wikimedia.org/wiki/Template:Help_desk_header
- Some uses of https://commons.wikimedia.org/wiki/Template:Search_box (?)
- https://commons.wikimedia.org/wiki/Template:Archive_box
- When using these search boxes now, they don't search the pages they are supposed to search through so are useless and problematic:
- The tab "Categories and Pages" is not preselected but instead "Images" showing media for the search terms
- The prefix search operator is not applied anymore so even when manually going to that tab, it doesn't show the search results that are supposed to be shown
What happens?:
It shows the "Images" tab by default and doesn't apply the prefix search operator.
What should have happened instead?:
- It should show the "Categories and Pages" tab by default via allowing the default tab to be specified in the template.
- It should apply the prefix search operator that was applied with SpecialSearch. For example, prefix=Commons:Village_pump/Archive for the first example in the list above.
The templates would need be edited to specify that.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
This is basically a feature request so that a new bug can be fixed so I'm not sure whether to file this as a bug report or feature request – given that the reason and purpose for this issue is fixing a relatively urgent problem/bug, I think bug report fits better.