mediawiki-skins-Vector/resources/skins.vector.search
Lucas Werkmeister 6fc25f87b9 search: Remove unused generateUrl() function
As far as I can tell, this has been dead code ever since it was
introduced in change Ica040cd18d (commit aa10668e6d), and was never
called; the effective search URL was initially constructed via inputs to
the search form (e.g. a hidden input for wprov), and later the separate
urlGenerator.js was added. (Also, “suggestion” is not a valid
Special:Search paramater as far as I can tell.)

Also add some tests for the separate urlGenerator.js, to make up for the
other tests being removed.

This reduces the module size of skins.vector.search enough that we can
decrease the bundle size test config to 3.2 kB [KiB].

Change-Id: I6be5ba362402c2c2ec582d9a0192c80f46e7a7ce
2022-12-06 13:35:45 +01:00
..
.eslintrc.json Move REST search client out of WVUI into Vector 2022-02-10 10:17:10 -06:00
App.vue search: Optionally support load-more events 2022-12-06 13:35:22 +01:00
config.json.d.ts Search: Use Codex and Vue 3 instead of WVUI and Vue 2. 2022-07-18 12:54:47 -07:00
fetch.js Add fetch tests from WVUI 2022-02-15 14:00:40 -06:00
instrumentation.js search: Remove unused generateUrl() function 2022-12-06 13:35:45 +01:00
restSearchClient.js search: Optionally support load-more events 2022-12-06 13:35:22 +01:00
skins.vector.search.js Codex search should respect autocapitalize value from $wgCapitalLinks 2022-10-28 18:53:17 +00:00
types.js Search: Use Codex and Vue 3 instead of WVUI and Vue 2. 2022-07-18 12:54:47 -07:00
urlGenerator.js search: Reduce skins.vector.search module size 2022-09-30 19:05:03 +02:00