Consider the following examples
- "two or three words"
The page [["two or three words"]] doesn't exists and MW shows the message
There were no results matching the query.
Create the page ""two or three words"" on this wiki!
Since the quotes have a special meaning when used among the search terms, i.e. they are part of the "search syntax", the messages should be more contextualized. For example, if we search for "some words on Google Search Engine", we will get:
http://www.google.com/search?q=%22some+words+on+Google+Search+Engine%22
No results found for "some words on Google Search Engine".
Results for some words on Google Search Engine (without quotes):
...
- intitle:Another example
http://en.wikipedia.org/w/index.php?title=Special:Search&search=intitle%3Aanother+example&fulltext=Search
There were no results matching the query.
Create the page "Intitle:another example" on this wiki!
the string "intitle" also has a special meaning, so when the user uses it, and get no results, MW could provide some indication that by dropping that term there could be some result.
The same idea applies to other strings having special meanings, such as "prefix" and symbols like "-" which is used to exclude some of the possible results.
Version: 1.20.x
Severity: normal
URL: https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&oldid=505315152#Article_titles_containing_.22prefix:foo.22