When searching on commons with SDC stuff enabled we get the warning:
https://test-commons.wikimedia.org/w/index.php?search=cat&title=Special%3ASearch&go=Go
A warning has occurred while searching: Mixing entity and article namespaces in search is currently not supported. Only entity namespaces will be searched.
The day before this is deployed to commons they will only have article searches. On the day it is deployed we would like it to be the same, the entity namespace should only be searched if only that namespace is selected. SDC would additionally like no warning message to be displayed.
This is a band-aid solution to help them make the initial deployment