Topic on Extension talk:Vector

What does the 'simplesearch' do?

6
Subfader (talkcontribs)
$wgDefaultSkin = 'vector';
require_once("$IP/extensions/Vector/Vector.php");
$wgVectorUseSimpleSearch = true;

has no effect on the search in Vector skin for me.

Krinkle (talkcontribs)

The search bar should look very different. Check this screenshot for example. On the right is with SimpleSearch enabled.

Subfader (talkcontribs)

Ah, works now. Thanks.

177.69.29.113 (talkcontribs)

Here its not working either, how did you fix it? I wrote the same lines that Subfader..

205.254.147.8 (talkcontribs)

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?

78.220.29.24 (talkcontribs)

To force the display of simple search, you just have to delete

&& $this->getSkin()->getUser()->getOption( 'vector-simplesearch' )

in skin/vector.php (line 468)

Reply to "What does the 'simplesearch' do?"