mediawiki-skins-Vector/includes/Components
Umherirrender 4d8c06cadb VectorComponentUserLinks: Replace array_reduce with array_filter
Looks easier to understand:
array_reduce adds the count() of all inner arrays and returns an
integer, 0 when all is empty and the count when items in there.
array_filter removes the empty inner arrays and when the returned outer
array still has an inner array, it is non-empty.

Change-Id: Ib0acb9be8d4d64cfb7d7d124c5a3de500f6b0232
2024-01-12 01:25:54 +01:00
..
VectorComponent.php [Components] Introduce VectorComponent and MainMenu components 2022-11-01 17:01:51 -07:00
VectorComponentButton.php Use Codex for button styles, start transitioning icons to use Codex icon mixins 2023-06-12 16:26:28 -07:00
VectorComponentClientPrefs.php Make client prefs fully pinnable 2023-11-22 14:39:28 -06:00
VectorComponentDropdown.php Remove references to heading in dropdown PHP 2023-06-26 12:49:00 -05:00
VectorComponentLanguageDropdown.php Replace some moved Title class uses, now MediaWiki\Title\Title 2023-08-19 04:23:07 +00:00
VectorComponentLink.php Use namespaced classes 2024-01-02 20:54:08 +01:00
VectorComponentMainMenu.php Use namespaced classes 2024-01-02 20:54:08 +01:00
VectorComponentMainMenuAction.php Replace empty() with a string compare 2023-10-21 20:26:30 +02:00
VectorComponentMainMenuActionLanguageSwitchAlert.php Use namespaced classes 2024-01-02 20:54:08 +01:00
VectorComponentMainMenuActionOptOut.php Use namespaced classes 2024-01-02 20:54:08 +01:00
VectorComponentMenu.php Refactor VectorComponentUserLinks to not use hooks 2023-11-09 17:32:10 -08:00
VectorComponentMenuListItem.php Rename IconLink to Link 2023-02-22 22:00:24 +00:00
VectorComponentPageTools.php VectorComponentPageTools: Remove unused User 2024-01-11 23:00:37 +01:00
VectorComponentPinnableContainer.php Rename VectorComponentPinnedContainer to VectorComponentPinnableContainer to match template files 2022-12-15 22:46:46 +00:00
VectorComponentPinnableElement.php Refactor: PageTools composes several different components 2022-12-12 22:17:24 +00:00
VectorComponentPinnableHeader.php Removes old style rule 2023-03-10 14:31:44 -06:00
VectorComponentSearchBox.php Use namespaced classes 2024-01-02 20:54:08 +01:00
VectorComponentStickyHeader.php Vector sticky header dynamic edit icons order 2023-10-12 18:54:47 +02:00
VectorComponentTableOfContents.php Use namespaced classes 2024-01-02 20:54:08 +01:00
VectorComponentUserLinks.php VectorComponentUserLinks: Replace array_reduce with array_filter 2024-01-12 01:25:54 +01:00
VectorComponentVariants.php Separate dropdown/menu references in PHP and templates 2023-07-31 14:03:12 -05:00