https://bugzilla.wikimedia.org/show_bug.cgi?id=29989
Web browser: ---
Bug #: 29989
Summary: MW should provide better messages if the search terms
contains part of the "search syntax"
Product: MediaWiki
Version: 1.19-svn
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Search
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Consider the following examples
1) "two or three words"
http://en.wikipedia.org/w/index.php?title=Special:Search&search=%22two+or+three+words%22&fulltext=Search
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):
...
--------------------------------------------
2) 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.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l