mediawiki-skins-Vector/resources
Jan Drewniak e4af2b5df3 Prevent addPortletLinkHandler from looping over links twice
- Prevents the addPortletLinkHandler function from looping
over the same links multiple times by indexing
the HTMLElement instead of just the ID, which is an
optional parameter.
- Conditionally adds the icon class if the ID parameter
exists.
- Refactors the function to calculate the width of the
vector toolbar.
- Adds Jest tests to account for the dual icon scenario
and updates existing Jest tests.

Bug: T327369
Change-Id: I2a0934405efebd0e95919bc523d711866236a7e6
2023-02-16 20:05:54 +00:00
..
common Make space between top of TOC/Page tools and top of viewport/bottom of sticky header 30px 2023-02-10 19:43:05 +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 Update user links dropdown id 2023-02-16 11:21:56 -06:00
skins.vector.js Prevent addPortletLinkHandler from looping over links twice 2023-02-16 20:05:54 +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: Fix unclickable search footer 2023-01-30 18:18:29 +00:00
skins.vector.styles Merge "Work around browser inconsistencies with 'clear' + 'margin-top'" 2023-02-14 19:43:38 +00:00
skins.vector.styles.legacy Add default width and max width to dropdowns in modern Vector, preserve existing styles for legacy Vector 2023-01-12 11:45:13 -06: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 Remove $wgVectorSearchHost, replace with $wgVectorSearchApiUrl 2022-10-07 00:57:58 +00:00
vue.d.ts Integrate WVUI search into Vector 2020-12-08 13:27:12 -08:00