Enable special page modules for search

This adds search autocomplete to the search input on
mobile. On mobile this is a little redundant given there
is another search on the page, but this is also the case on
desktop...

Bug: T235712
Change-Id: I3c88bd84b911ea248714e35db5ce9d712c9512df
This commit is contained in:
jdlrobson 2019-10-31 13:00:38 -07:00 committed by Jdlrobson
parent c02ae7bbc2
commit 8c52c50f0d

View file

@ -2139,6 +2139,7 @@ return [
'mediawiki.special.search' => [
'scripts' => 'resources/src/mediawiki.special.search/search.js',
'dependencies' => 'mediawiki.widgets.SearchInputWidget',
'targets' => [ 'desktop', 'mobile' ],
],
'mediawiki.special.search.commonsInterwikiWidget' => [
'scripts' => 'resources/src/mediawiki.special.search.commonsInterwikiWidget.js',
@ -2712,6 +2713,7 @@ return [
// FIXME: Needs TitleInputWidget only
'mediawiki.widgets',
],
'targets' => [ 'desktop', 'mobile' ],
],
'mediawiki.widgets.SearchInputWidget.styles' => [
'skinStyles' => [