Drop VectorUseSimpleSearch config flag

For compatibility with gadgets always outputs the simpleSearch ID.

Bug: T254620
Change-Id: I0ed456f90f066129016f798a3ce65ba52bfc11e8
This commit is contained in:
AronDemian 2020-06-05 20:56:19 +02:00
parent 3eea85aad9
commit abf886d2b9
2 changed files with 1 additions and 4 deletions

View file

@ -511,7 +511,7 @@ class VectorTemplate extends BaseTemplate {
$config = $this->getConfig();
$props = [
'form-action' => $config->get( 'Script' ),
'form-id' => $config->get( 'VectorUseSimpleSearch' ) ? 'simpleSearch' : '',
'form-id' => 'simpleSearch',
'html-button-search-fallback' => $this->makeSearchButton(
'fulltext',
[ 'id' => 'mw-searchButton', 'class' => 'searchButton mw-fallbackSearchButton' ]

View file

@ -131,9 +131,6 @@
}
},
"config": {
"VectorUseSimpleSearch": {
"value": true
},
"VectorUseIconWatch": {
"value": true
},