Author: mr.primus
Description:
Please provide a $wg... configuration setting or a user preference to give
the AJAX autosuggest feature the ability to search not only in the beginning, but anywhere in the article name.
reason 1:
example article: Pixar's Disney Toy Story
search for: Disney
current result: no result
You currently only would get results with typing: Pi...
reason 2: This would also important when searching beyond namespaces...
example: The category "Disney" exists but no article "Disney"
search for: Disney
current result: nothing
You only would get results with typing: Category:D...
reason 3: The autosuggest feature currently does not replace the[http://www.mediawiki.org/wiki/Extension:Search_Suggest Extension:Search Suggest] for this functionality like stated on the page of this extension. But this extension was unfortunatly only able to search in articles without namespace preposition. Configuration setting here was: $location = 1; //set to 1 to search anywhere in the article name, set to 0 to search only at the begining
reason 4: requested by another user at [http://www.mediawiki.org/wiki/Manual_talk:$wgEnableMWSuggest#Extend_the_search]
It can not be a good solution to set redirects for alternative or incomplete terms, especially not when #16145 (mwsuggest.js should not return redirects) get into the core.
Thank you.
Version: 1.13.x
Severity: enhancement