mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 23:55:53 +00:00
e8a403e342
* Following up on the work from Idf90ee2a0f1c1d08a31cf50099c0bebc7b67e619, this commit renames the storybook files/storybook names to their respective component name. e.g. personalNavigation.stories.js => PersonalMenu.stories.js Bug: T243281 Change-Id: I68054663c5a597f90a826b6f75bf399382dca609
16 lines
933 B
JavaScript
16 lines
933 B
JavaScript
import searchBoxTemplate from '!!raw-loader!../includes/templates/SearchBox.mustache';
|
|
import { htmluserlangattributes } from './utils';
|
|
|
|
export { searchBoxTemplate };
|
|
|
|
export const searchBoxData = {
|
|
searchActionURL: '/w/index.php',
|
|
searchHeaderAttrsHTML: htmluserlangattributes,
|
|
searchInputLabel: 'Search',
|
|
searchDivID: 'simpleSearch',
|
|
searchInputHTML: '<input type="search" name="search" placeholder="Search Wikipedia" title="Search Wikipedia [⌃⌥f]" accesskey="f" id="searchInput" autocomplete="off">',
|
|
titleHTML: '<input type="hidden" value="Special:Search" name="title">',
|
|
fallbackSearchButtonHTML: '<input type="submit" name="fulltext" value="Search" title="Search pages for this text" id="mw-searchButton" class="searchButton mw-fallbackSearchButton"/>',
|
|
searchButtonHTML: '<input type="submit" name="go" value="Go" title="Go to a page with this exact name if it exists" id="searchButton" class="searchButton">'
|
|
};
|