mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
Drop VectorUseSimpleSearch config flag
For compatibility with gadgets always outputs the simpleSearch ID. Bug: T254620 Change-Id: I0ed456f90f066129016f798a3ce65ba52bfc11e8
This commit is contained in:
parent
3eea85aad9
commit
abf886d2b9
|
@ -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' ]
|
||||
|
|
Loading…
Reference in a new issue