mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-01 10:46:54 +00:00
36e91dc04f
Applies new ESLint documentation rules Change-Id: I7fe458cf52e98baf92f3baec2d9ff54484326673
22 lines
930 B
JavaScript
22 lines
930 B
JavaScript
/**
|
|
* @external SearchData
|
|
*/
|
|
|
|
import searchBoxTemplate from '!!raw-loader!../includes/templates/SearchBox.mustache';
|
|
import { htmluserlangattributes } from './utils';
|
|
|
|
export { searchBoxTemplate };
|
|
|
|
/**
|
|
* @type {SearchData}
|
|
*/
|
|
export const searchBoxData = {
|
|
'form-action': '/w/index.php',
|
|
'html-userlangattributes': htmluserlangattributes,
|
|
'msg-search': 'Search',
|
|
'html-input': '<input type="search" name="search" placeholder="Search Wikipedia" title="Search Wikipedia [⌃⌥f]" accesskey="f" id="searchInput" autocomplete="off">',
|
|
'page-title': 'Special:Search',
|
|
'html-button-search-fallback': '<input type="submit" name="fulltext" value="Search" title="Search pages for this text" id="mw-searchButton" class="searchButton mw-fallbackSearchButton"/>',
|
|
'html-button-search': '<input type="submit" name="go" value="Go" title="Go to a page with this exact name if it exists" id="searchButton" class="searchButton">'
|
|
};
|