Feature summary (what you would like to be able to do and where):
Add a hook to allow extensions exclude certain namespaces from title-only search queries and search autocomplete, just like SearchableNamespaces.
Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Some extensions use random strings in titles, eg. Topic: in StructuredDiscussions (currently searching is disabled), and CommentStreams: in CommentStreams (T276016). Those unreadable titles shouldn't be used in search queries and search autocomplete.
Benefits (why should this be implemented?):
Make users not confused when searching.