$wgDefaultSkin = 'vector'; require_once("$IP/extensions/Vector/Vector.php"); $wgVectorUseSimpleSearch = true;
has no effect on the search in Vector skin for me.
$wgDefaultSkin = 'vector'; require_once("$IP/extensions/Vector/Vector.php"); $wgVectorUseSimpleSearch = true;
has no effect on the search in Vector skin for me.
The search bar should look very different. Check this screenshot for example. On the right is with SimpleSearch enabled.
Here its not working either, how did you fix it? I wrote the same lines that Subfader..
We are setting $wgVectorUseSimpleSearch to true but our user preferences are not taking the value. We have to go into user preferences -> search options -> Enable enhanced search suggestions and manually set the flag. Any idea why this might be the case?
To force the display of simple search, you just have to delete
&& $this->getSkin()->getUser()->getOption( 'vector-simplesearch' )
in skin/vector.php (line 468)