mediawiki-skins-Vector/resources
Roan Kattouw 5dee570cb2 search: Prepare for Vue 3 migration
Port the initialization code for the Vue search to use Vue.createMwApp()
instead of new Vue( ... ). The former mimicks Vue 3's API for mounting
components.

Without this change, this code breaks in Vue 3 (even in compatibility
mode) because the compat support for new Vue(...) is imperfect. By the
time renderFn is called, the searchForm container has already been
emptied by Vue's internal mounting code.

Instead, inspect searchForm and generate the prop list before mounting,
then pass the props to createMwApp() and mount the component.

Bug: T294476
Depends-On: I1fcdcf7bf87f5af2deb9763a231f2c360ea45b23
Change-Id: I5b6e66051d97e75f8f03b8258894daba22525797
2021-11-05 15:53:34 -07:00
..
common Address cache related FIXMEs 2021-10-05 21:53:09 +00:00
mediawiki.less Implement mediawiki.skin.variables.less for Vector 2020-09-16 08:39:13 -07:00
skins.vector.es6 Initialize the skins.vector.es6 module before the skins.vector.js module 2021-11-03 11:03:18 -06:00
skins.vector.js Merge "Initialize the skins.vector.es6 module before the skins.vector.js module" 2021-11-04 18:11:29 +00:00
skins.vector.legacy.js Vector should be notified by addPortletLink to collapsible where needed 2021-10-19 23:24:28 +00:00
skins.vector.search search: Prepare for Vue 3 migration 2021-11-05 15:53:34 -07:00
skins.vector.styles Fix title getting cut off in sticky header. 2021-10-25 20:51:43 -06:00
skins.vector.styles.legacy Address cache related FIXMEs 2021-10-05 21:53:09 +00:00
CheckboxHack.d.ts Add enter/spacebar keyboard support to sidebar. 2020-07-09 22:38:15 +02:00
CollapsibleTabsPlugin.d.ts [JavaScript] Validate types 2020-03-16 09:10:08 -06:00
MediaWikiPageReady.d.ts Vector manages search functionality and provides config flag 2020-08-04 00:06:31 +00:00
mw.d.ts Use centralized MediaWiki typescript definition 2021-07-26 21:27:12 +00:00
VectorResourceLoaderVirtualConfig.d.ts Rename wgVectorUseCoreSearch to wgVectorUseWvuiSearch 2021-01-22 16:25:46 -07:00
vue.d.ts Integrate WVUI search into Vector 2020-12-08 13:27:12 -08:00