mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-13 17:57:06 +00:00
bd83398659
Creates a new skins.vector.search module that replaces the searchSuggest module from MediaWiki core. This module creates a new Vue app using the WVUI search widget for the new search experience. The legacy search input form is still retains on pageload, and the new search kicks on search input focus. In order to manage that transition, the legacy search input is styled to resemble the new WVUI input, and the new input is manually focused after the component mounts. Vue is also added as a dev-dependency to help with type-checking. Other changes: * the entry in skin.json is reordered alphabetically after skins.vector.js Bug: T264355 Change-Id: Ibb9561a77a14734297cb4d0ddcd415fc0750b45d
40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"opts": {
|
|
"destination": "docs/js",
|
|
"package": "package.json",
|
|
"pedantic": true,
|
|
"readme": "README.md",
|
|
"recurse": true,
|
|
"template": "node_modules/jsdoc-wmf-theme"
|
|
},
|
|
"source": {
|
|
"include": [ "resources" ]
|
|
},
|
|
"templates": {
|
|
"cleverLinks": true,
|
|
"default": {
|
|
"useLongnameInNav": true
|
|
},
|
|
"wmf": {
|
|
"linkMap": {
|
|
"\"addEventListener\"": "https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener",
|
|
"Document": "https://developer.mozilla.org/docs/Web/API/Document",
|
|
"Event": "https://developer.mozilla.org/docs/Web/API/Event",
|
|
"HTMLElement": "https://developer.mozilla.org/docs/Web/API/HTMLElement",
|
|
"HTMLInputElement": "https://developer.mozilla.org/docs/Web/API/HTMLInputElement",
|
|
"\"removeEventListener\"": "https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener",
|
|
"Window": "https://developer.mozilla.org/docs/Web/API/Window",
|
|
|
|
"CheckboxHack": "https://doc.wikimedia.org/mediawiki-core/master/js",
|
|
|
|
"MW": "https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw",
|
|
"MediaWikiPageReadyModule": "https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.plugin.page.ready",
|
|
"JQueryStatic": "https://api.jquery.com",
|
|
"VectorResourceLoaderVirtualConfig": "#",
|
|
"void": "#",
|
|
"Vue.VNode": "https://vuejs.org/v2/api/#VNode-Interface"
|
|
}
|
|
}
|
|
}
|
|
}
|