As a logged-in user on any wiki (confirmed in Enwiki, Metawiki, and Commons)
- search for a nonsense string on any wiki
- change the namespaces that are searched by removing an item using the "x" link
- click "Search"
- (sometimes a second change is needed to trigger the bug)
Expected: The URL updates to remove the single namespace
Actual: The URL is trimmed to end with index.php ?!?
Screencast / recording: