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
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
CollapsibleTabsPlugin.d.ts
MediaWikiPageReady.d.ts
mw.d.ts
VectorResourceLoaderVirtualConfig.d.ts Remove $wgVectorSearchHost, replace with $wgVectorSearchApiUrl 2022-10-07 00:57:58 +00:00
vue.d.ts