mediawiki-skins-Vector/resources
Lucas Werkmeister d34fae74f1 search: Add wprov to result URLs
This ensures that the wprov parameter is included when users follow the
link as a link (click, middle-click, etc.), and also prepares us for a
future where pressing Enter after selecting a search result navigates to
that result’s URL instead of submitting the form. It also matches the
behavior of the legacy search form.

We put this in App.vue + instrumentation.js, not in urlGenerator.js,
because we also want wprov to be added when custom URL generators or
search clients are used. (The reason for instrumentation.js instead of
purely App.vue is just that it’s easier to test there.)

In the tests, we need to update @wikimedia/mw-node-qunit so that we have
a sufficiently functional mw.Uri() mock.

Bug: T317682
Change-Id: I765d3bbf89b2253add7b50305c362e4bbc9ecceb
2022-10-21 11:58:30 +02:00
..
common Split MenuPortal.less into legacy and modern Vector 2022-10-07 17:40:49 +00:00
mediawiki.less mediawiki.skin.variables: Add border-style and border-width vars 2022-09-23 17:58:42 +00:00
mediawiki.less.legacy Vector legacy no longer imports variables from Vector modern 2022-08-24 15:08:35 +00:00
skins.vector.es6 Technical: Cached HTML cleanup 2022-10-04 18:23:57 +00:00
skins.vector.js Merge "link.prepend is not a function in older browsers" 2022-10-09 09:33:52 +00:00
skins.vector.legacy.js Update @wikimedia/types-wikimedia to latest version 2022-03-28 23:33:50 +00:00
skins.vector.search search: Add wprov to result URLs 2022-10-21 11:58:30 +02:00
skins.vector.styles Split MenuPortal.less into legacy and modern Vector 2022-10-07 17:40:49 +00:00
skins.vector.styles.legacy Split MenuPortal.less into legacy and modern Vector 2022-10-07 17:40:49 +00:00
CheckboxHack.d.ts
CollapsibleTabsPlugin.d.ts
MediaWikiPageReady.d.ts
mw.d.ts Use centralized MediaWiki typescript definition 2021-07-26 21:27:12 +00:00
skins.vector.AB.styles.less Refactor TOC A/B test to bucket users on backend 2022-08-08 15:50:28 -06:00
VectorResourceLoaderVirtualConfig.d.ts Remove $wgVectorSearchHost, replace with $wgVectorSearchApiUrl 2022-10-07 00:57:58 +00:00
vue.d.ts